Create user commands in linux

Source: Internet
Author: User
Create a new user as a super user (1) create a user using the useradd command: syntax useradd [user name to be created], press enter (2) use the passwd command to create a password for the user. Syntax: passwd [user name]. press enter (3) to enter the password. Generally, the password must be at least...

Create a new user as a super user
(1) use the useradd command to create a user: syntax useradd [user name to be created], press enter
(2) use the passwd command to create a password for the user. Syntax: passwd [user name]. press Enter.
(3) enter the password. Generally, the password must contain at least six characters. the entered password is invisible, so the screen is not displayed, so do not think it is a failure.
(4) re-enter the password.
 
Note: Use the su-user name when switching users. A super user does not need to enter a password to switch to a common user, but a common user needs to enter a password to switch to a Super User.

Author: maziheng"
 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.