Manually add users in Linux (plot)

Source: Internet
Author: User

1. Add a group in/etc/group, if the user has an additional group, add the name of the user after attaching the group

2. Initializing the Add user and the corresponding group ID in/etc/passwd

3. Add some settings for the user in/etc/shadow

4. Copy the files in the/etc/skel/directory to the home/user directory

5. Modify the owner of the/home/user directory and the owning group for this user, and its group

6. Modify the G o permission for the/home/user directory to-----


If you do not add a password to the user in shadow, the user cannot log in, but can log on through the SU command.

Temporarily, need to figure, in the next message.

This article from the "90 Design Studio" blog, reproduced please contact the author!

Manually add users in Linux (plot)

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.