8-26-linux-user creation and directory, password, home directory!

Source: Internet
Author: User

Because the computer is bad can only hear the sound! Wait for the video to be sent to fill
UID 0-65535
Normal Users: 1-60000
System users:
1-499
Login User:
Researcher

To add a user group
Groupadd-g 521-r Admind

Add user group, genus Group, shell, affiliate group
Useradd-r admin-u 520-g 521-d/home/centos/admin/-s/bin/bash-g 0
View the UID of the owning user
Id-u Admin
520
Owning group:
Id-g Admin
521
Affiliated groups:
Id-g Admin
521 0 500
Add Password:
passwd Admin
Password: admin


Here's the problem: no permissions!

chmod 777 full open!.. Test with! The end of the user to replace it.

Best used: Root
Chown admin/home/admin/
Drwxr-xr-x. 4 admin CentOS 4096 August 03:52/admin

8-26-linux-user creation and directory, password, home directory!

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.