What are the Ubuntu user management commands
This article mainly shows you "what are the Ubuntu user management commands", the content is simple and clear, and I hope it can help you solve your doubts. Let me lead you to study and learn this article "what are the Ubuntu user management commands?"
1 Ubuntu user Management # useradd Useradd create a new user
2 Ubuntu user Management # groupadd Groupadd Group name create a new group
3 Ubuntu user Management # passwd Passwd username create password for user
4 user management # Passwd-d Passwd-d user name delete user password can also log in
5 user management # Passwd-l Passwd-l username lock account password
6 Ubuntu user Management # Passwd-u Passwd-u username unlock account password
7 user Management # Passwd-S Passwd-S username query account password
8 user management # Usermod-l Usermod-l new user name old user name renamed user name
9 Ubuntu user Management # Usermod-L Usermod-L to lock user name lock user login
10 user Management # Usermod-U Usermod-U unlock user name unlock user login
11 user Management # Usermod-u Usermod-u 501 user name changes user UID
12 Ubuntu user Management # Userdel Userdel-r username removes everything from the user
13 user management # Groupmod-n Groupmod-n new user name old user name renamed group
14 Ubuntu user Management # Groupmod-g Groupmod-g 501Group name change Group GID
15 user management # groupdel Groupdel group name should be deleted first its user delete group
16 user management # gpasswd-a gpasswd-a user name group name add user to group
17 Ubuntu user Management # Id id user name to check user information
The above is all the contents of the article "what are the Ubuntu user Management commands?" Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!