Home >Operation and Maintenance >CentOS >How to create a user in centos

How to create a user in centos

王林
王林Original
2020-03-17 16:25:345652browse

How to create a user in centos

Enter "useradd userfor2015" and press Enter to add an account named "userfor2015". By default, a group with the same name will be added and a new directory with the same name will be created in /home.

Note: The account "userfor2015" is locked at this time.

How to create a user in centos

(Recommended tutorial: centos usage tutorial)

Then enter "passwd userfor2015" and press Enter.

To modify the password of user "userfor2015" (Linux does not display the password), you need to enter the same password twice.

How to create a user in centos

Related video tutorial recommendations: linux video tutorial

The above is the detailed content of How to create a user in centos. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn