As an appliance admin you can manage the users in the Carbon Black Cloud Workload appliance. You add new system users, assign them to different groups, or delete them. You can also set a password for the new user account or update the password for an already existing user in the appliance.
- Log in to the appliance with root credentials.
- To create a new user with a specified home directory and a group, to which the user belongs to, use the command
useradd -m -G <group-name> <user-name>.For example, run the command useradd -m -G group1,group2 user1.The example command creates a new user - user1, which is part of two groups - group1 and group2.
- To set a new password for the newly created user, use the command
passwd <user-name>.For example, run the command passwd user1.The example command creates a new password for user1.Note: You can also use the passwd command to change the password for that user.