UNIX to Linux Porting: A Comprehensive Reference

G.3. User Management Tasks

Table G-3 shows differences in Linux and Solaris user management tasks.

Table G-3. [*] User Management Tasks

Task/Location

Solaris

Linux

Run multiple tasks in a GUI environment

admintool

In RHEL: system-config-users In SLES: yast2

Add a user

useradd

useradd

Remove a user

userdel

userdel

Change a user

usermod

usermod

List users

listusers

N/A

Password files

etc/passwd and

/etc/shadow

/etc/passwd and

/etc/shadow

Group files

/etc/group

/etc/group

Process resource limits for users

N/A

/etc/security/limits.conf

System-wide environment file

N/A

/etc/profile

Configuration information for user authentication

/etc/pam.conf

/etc/login.defs

Profile templates

/etc/skel/

/etc/skel/

[*] Table A-4 of IBM Redbook

Категории