Go to main content

Managing User Accounts and User Environments in Oracle® Solaris 11.3

Exit Print View

Updated: March 2017
 
 

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
Create a local user by using the useradd command with the account defaults that you have set up.
Modify a user account
Modify the login information of a user on the system.
Unlock a user account
Unlock a user account using the passwd -u command.
Delete a user account
Delete a user account by using the userdel command.
Create, then assign a role to perform an administrative task.
Create a local role to enable the user to perform specific administrative commands or tasks with the account defaults that you have set up.
Create a group
Create a new group by using the groupadd command.
Create home directories for users without creating a ZFS dataset.
Create the home directory for users without creating a ZFS dataset for each user.
Add security attributes to a user account
Add the required security attributes after setting up the local user accounts.
Share a user's home directory
Share the home directory of the user in order to remotely mount the directory from the system of the user.
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.