Linux Users and user groups

Source: Internet
Author: User

Linux is a multi-user multi-task time-sharing operating system.

Linux users have only two levels: root and non-root users. The Linux system defaults to the built-in root user and some non-root users, such as NOBODY,ADMIN,FTP.

User groups: Users can abstract the number of files that users can access at a higher level, so a user can combine different groups of users to create a unique

File access list, but also can be staggered between different users, in a methodical manner. A good balance is achieved between user collaboration and privacy protection. A user

Should be at least within a user group.

View all user lists through the/etc/passwd file

View all user groups through the/etc/group file

Add a user, delete a user, modify a user

Using sudo as a pretext for identity

Use su to switch between temporary users

WhoAmI and who Am I

Linux Users and user groups

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.