Group files for Linux user-related files

Source: Internet
Author: User

Group Information file:
1. File Address:
/etc/group
-rw-r--r--. 1 root root 492 October 6 21:56/etc/group
2. Contents of the file:
XIAOL:X:500:
3. Information meaning:
1th field: Group name
2nd field: Group password flag
3rd field: GID
4th field: Additional users in a group

Group Password file:
1. File Address:
/etc/gshadow
----------. 1 root root 399 October 6 21:56/etc/gshadow
2. Contents of the file:
xiaol:!::
3. Information meaning;
1th field: Group name
2nd field: Group password
3rd field: Group Administrator name
4th field: Additional users in a group

Description
1. Role of Group Admins and group passwords
Administrators can add and remove users to a group by using a group password
But this should be done by root, so it's not recommended to use this feature

Group files for Linux user-related files

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.