Disclaimer: This article is a blogger original article, shall not be reproduced without the bloggers allowed. https://blog.csdn.net/young2415/article/details/89413731
Article Directory
1. useradd: Add User
grammar:useradd 用户名
Adding a user to the current system, only an administrator root users can execute this command.
2. passwd: Change your password
grammar:passwd [用户名]
Without any parameters is to modify the current user's password. And later, if a user name, then modify the user's password, administrator root user can change anyone's password, and you can not consider the password complexity; Ordinary users can change their passwords, and modify the password must meet when Linux password complexity requirements.
3. Check the login user information
3.1 who
Use the who command to see how many users are currently logged in.
- tty represents the local terminal
- pts remote terminal, the latter used to distinguish between different digital pts remote terminal
3.2 w
Use w command to view more detailed information logged-on user.