User and User Groups in Linux, groupslinux

Source: Internet
Author: User

User and User Groups in Linux, groupslinux

This document describes some common commands for Linux users and user groups.

Related configuration files:
  • /Etc/group stores all user group information in the current system
  • /Etc/gshadow stores passwords of all user groups in the current system
  • /Etc/passwd stores information of all users in the current system
  • /Etc/shadow stores password information of all users in the current system
The content format of the configuration file is described as follows:

Note: When you use cat/etc/group for viewing, you will find that some groups do not display the user list at last. The following code shows how to view the User Name List of a user group.

Add, modify, and delete user groups User addition, modification, and deletion Passwd command Main Group & affiliated group

A user can belong to multiple user groups at the same time (one master group and multiple affiliated groups must be included)

View commands Set User File Access Permissions Other commands

Links to concepts about 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.