Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

What are the Ubuntu user management commands

2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

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!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report