Article Title: Newbie: Create and delete new users in Linux. Linux is a technology channel of the IT lab in China. Some basic categories, such as desktop applications, Linux system management, kernel research, embedded systems, and open source, should be created at the shell prompt:
1. Open the shell prompt.
2. If you have not logged on as the root user, type the su command and enter the root password.
3. Type useradd in the command line, followed by a space and the username of the new user you created (for example, useradd zhangsan ). Press the [Enter] key. Generally, the user name is changed according to the user's name. For example, the user name of Zhang San is zhangsan. the user's account name can be changed from the user's name, abbreviation, or place of birth.
4. Type passwd, followed by a space and the user name (for example, passwd zhangsan ).
5. At the New password prompt, Enter a New password for the New user, and then press [Enter].
6. At the Retype new password prompt, enter the same password to confirm your selection.
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