Managing Users
User management activities can be performed with the command line or with the Solaris Management Console (SMC).
Adding Users with the useradd Command
The useradd command can be used to add users to the system. You also can invoke this command to change the default settings. You can display the default user settings on your system and change these settings as required.
Table 11.2 describes the various options of the useradd command.
Options | Description |
---|---|
-D | Changes the default values. |
-o | Creates a user account with an existing user ID. |
-u | Specifies the user ID. |
-g | Specifies the user's primary group. |
-G | Specifies one or more secondary groups of which the user might be a member. To specify ... |
Get Special Edition Using® 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.