Linux allows multiple users to have access to the system at one time. Setting permissions protects users from each other. Users can be assigned to groups that are created for users who share privilege, security, and access. Files and devices may be granted access based on a specific user or a group of users.
Linux允许多个用户一次访问系统。 设置权限可以保护用户彼此之间。 可以将用户分配到为共享特权,安全性和访问权的用户创建的组。 可以基于特定用户或一组用户来授予文件和设备访问权限。
Groups are often used to give members certain permissions to modify a file or directory.
组通常用于授予成员某些权限来修改文件或目录。
The two main types of groups are primary groups and secondary groups. A user's primary group is the default group the account is associated with. Directories and files the user creates will have this Group ID. A secondary group is any group(s) a user is a member of other than the primary group.
组的两种主要类型是主要组和次要组。 用户的主要组是与该帐户关联的默认组。 用户创建的目录和文件将具有此组ID。 次要组是用户不是主要组的成员的任何组。