Managing User Accounts and User Environments in Oracle® Solaris 11.2

Exit Print View

Updated: September 2014
 
 

Task Map for Setting Up and Managing User Accounts by Using the CLI

The following tasks describe how to set up and manage user accounts by using the command-line interface (CLI).

Task
Description
For Instructions
Gather user information.
Use a standard form to gather user information to help you keep user information organized.
Customize user initialization files.
Set up user initialization files to provide new users with consistent environments.
Change account defaults for all roles.
Change the default home directory and skeleton directory for all roles.
Create a user account.
Using the account defaults that you set up, create a local user by using the useradd command.
Modify a user account.
Modify a user's login information on the system.
Delete a user account.
Delete a user account by using the userdel command.
Create, then assign a role to perform an administrative task.
Using the account defaults that you set up, create a local role to enable the user to perform a specific administrative command or task.
Create a group.
Create a new group by using the groupadd command.
Add security attributes to a user account.
After you set up a local user account, you can add the required security attributes.
Share a user's home directory.
You must share the user's home directory so that the directory can be remotely mounted from the user's system.
Manually mount a user's home directory.
Typically, you do not need to manually mount user home directories that are created as a ZFS file system. The home directory is mounted automatically when it is created and also at boot time from the SMF local file system service.