As an appliance administrator, you can manage the users in the Carbon Black Cloud Workload appliance. You can add new system users, assign them to different groups, or remove them. You can also set a password for a new user account or update the password for an already existing user.
Prerequisites
Make sure your user belongs to the wheel group with
root and
admin privileges.
Procedure
- Log in to the appliance using root credentials.
- To create a new user with a specified home directory and a group, to which the user belongs to, issue the command
useradd -m -G <group-name> <user-name>
.
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 a newly created user, use the command
passwd <user-name>
.
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 a user.