Go to main content

Managing User Accounts and User Environments in Oracle® Solaris 11.4

Exit Print View

Updated: April 2019
 
 

Setting Up and Managing User Accounts (Task Map)

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.
Delete a user account
Delete a user account by using the userdel command.
Unlock a User Account
Unlock a user account by using the passwd -u 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 qualified user attributes to user accounts in the LDAP directory
Use the default@ account name to assign qualified user attributes to user accounts in the LDAP directory.
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
Manually mount the home directory of the user. 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.