Linux Operations Learning Notes-Role Knowledge Summary

Source: Internet
Author: User

role through UID and the GID differentiate

Root: Super administrator, with all permissions, UID (0).

Ordinary users: Have all permissions to operate their own home directory, other files and directories (/etc,/var) only Read permissions, UID (500-65535).

Virtual User: Puppet, UID (1-499), mainly used to meet the needs of the start-up service.

Command: SU switches the user. sudo power command, the role has not changed, but can improve the use of the command, you need to configure sudo authorization. Parameter-Indicates that the appropriate environment variable is loaded.

System role-related files:
/ETC/PASSWD Profile for user

/etc/shadow User's password file

/etc/group Profiles for user groups

Password file for the/etc/gshadow user group

Linux Operations Learning Notes-Role Knowledge Summary

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.