Managing User and Group Accounts from the Command Line

Another way to manage user accounts is from the command line. Although using the command line is more complex than using the Admintool GUI interface, the command line provides a little more flexibility. Solaris supplies the user administration commands described in Table 13.4 for setting up and managing user accounts.

Table 13.4. Account Administration Commands
Command Description
useradd Adds a new user account
userdel Deletes a user account
usermod Modifies a user account
groupadd Adds a new group
groupmod Modifies a group (for example, changes the group ID or name)
groupdel Deletes a group

Adding User Accounts from the Command Line

You can add new user accounts on the local ...

Get Inside Solaris™ 9 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.