最終更新:2017-04-25 (火) 02:44:10 (2550d)
gpasswd
Top / gpasswd
administer /etc/group and /etc/gshadow
/etc/groupファイルを管理する
対象ファイル
- Linux/etc/group
- Linux/etc/gshadow?
オプション
OPTIONS Except for the -A and -M options, the options cannot be combined. The options which apply to the gpasswd command are: -a, --add user Add the user to the named group. -d, --delete user Remove the user from the named group. -h, --help Display help message and exit. -r, --remove-password Remove the password from the named group. Only group members will be allowed to use newgrp to join the named group. -R, --restrict Restrict the access to the named group. Only group members will be allowed to use newgrp to join the named group. -A, --administrators user,... Set the list of administrative users. -M, --members user,... Set the list of group members.