NAME: gpasswd - administer the /etc/group file
SYNOPSIS:
gpasswd group
gpasswd -a user group
gpasswd -d user group
gpasswd -R group
gpasswd -r group
gpasswd [-A user,...] [-M user,...] group
OPTIONS:
Group administrator can add and delete users using -a and -d options respectively.
Administrators can use -r option to remove group password. When no password is set only group members can use newgrp to join the group.
Option -R disables access via a password to the group through newgrp command (however members will still be able to switch to this group).
本文介绍了gpasswd命令的使用方法,包括如何添加和删除用户、设置和移除组密码等操作。gpasswd是Linux系统中用于管理用户组成员资格的重要工具。
2536

被折叠的 条评论
为什么被折叠?



