centos adding a user and password means creating a new user. You can use the "adduser
" command to create a new user, and use "passwd " Add the password for the specified user.
The operating environment of this article: centos 6.4 system, Dell G3 computer.
To create a new account in Centos, you can create an account through the command: adduser
The permissions of ordinary users are only in This home has full permissions, and other directories need to be used according to authorization. If the root user's permissions are required during operation, you can use the sudo command to allow authenticated users to execute commands as the root user.
After creating a user, don’t forget to initialize the password for the user. Use the command: passwd
Then enter the password that meets the password rules twice. Linux will determine the password complexity (the password must be at least 8 characters long).
Recommended tutorial: "centos tutorial"
The above is the detailed content of What does it mean to add user and password in centos. For more information, please follow other related articles on the PHP Chinese website!