Linux用户组介绍:如何添加新组,新组成员和更改组

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。 次要组是用户不是主要组的成员的任何组。

  • 3
    点赞
  • 8
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值