Posted in Linux

Manage local Users and Groups in Centos 7/RHEL 7

1.  To create user use command useradd.

1

2. Whenever new user is created without specifying any other values then default values will be taken after creating user. You can check default values for any user creation using following commands.

2

 

 

 

 

3

user chris is created with id 1001 and user private group created named chris with 1001 group id (the group created with same name as user is called user private group).

Continue reading “Manage local Users and Groups in Centos 7/RHEL 7”

Advertisements