Manage users and user groups

User management

useradd usermod userdel

 View the added user information

 useradd mini -g hehe group at the same time creating a user specified belongs

 At this point the user's password is encrypted placed on the / etc / shadow, you should use the passwd username password in order to use (in the allocation of our super administrator account can force users to set a password)

 

By default it belongs to its name among the group of the same name

In the case of the home directory is not specified home directory and its namesake at home

 

 userdel he this time delete the associated directory home directory still exists userdel he -r delete users at the same time

 

How to force delete a user account in which the user uses linux

 

 

Management User Group

groupadd ..

groupadd webcyh

It can open / etc / group view

Modify User Group Name

 

Guess you like

Origin www.cnblogs.com/webcyh/p/11408914.html