Man page - gpasswd(1)
Packages contas this manual
- userdel(8)
- vipw(8)
- grpunconv(8)
- gshadow(5)
- pwunconv(8)
- chgpasswd(8)
- groupdel(8)
- subuid(5)
- useradd(8)
- usermod(8)
- subgid(5)
- vigr(8)
- groupadd(8)
- grpck(8)
- passwd(5)
- grpconv(8)
- passwd(1)
- shadowconfig(8)
- expiry(1)
- gpasswd(1)
- chpasswd(8)
- pwck(8)
- shadow(5)
- pwconv(8)
- chfn(1)
- groupmod(8)
- chage(1)
- chsh(1)
- newusers(8)
apt-get install passwd
Available languages:
en fr pt_BR it cs tr hu ja uk ru zh_CN deManual
| gpasswd(1) | User Commands | gpasswd(1) |
НАЗВАНИЕ
gpasswd - administer /etc/group and /etc/gshadow
СИНТАКСИС
gpasswd [option] group
ОПИСАНИЕ
The gpasswd command is used to administer /etc/group, and /etc/gshadow. Every group can have administrators, members and a password.
System administrators can use the -A option to define group administrator(s) and the -M option to define members. They have all rights of group administrators and members.
gpasswd called by a group administrator with a group name only prompts for the new password of the group.
If a password is set the members can still use newgrp(1) without a password, and non-members must supply the password.
Замечания о паролях групп
Пароли групп имеют врождённую проблему с безопасностью, так как пароль знает более одного человека. Однако, группы являются полезным инструментом совместной работы различных пользователей.
ПАРАМЕТРЫ
Except for the -A and -M options, the options cannot be combined.
The options which apply to the gpasswd command are:
-a, --add user
-d, --delete user
-h, --help
-Q, --root CHROOT_DIR
-r, --remove-password
-R, --restrict
-A, --administrators user,...
-M, --members user,...
ПРЕДОСТЕРЕЖЕНИЯ
This tool only operates on the /etc/group and /etc/gshadow files. Thus you cannot change any NIS or LDAP group. This must be performed on the corresponding server.
НАСТРОЙКА
The following configuration variables in /etc/login.defs change the behavior of this tool:
ФАЙЛЫ
/etc/group
/etc/gshadow
СМОТРИТЕ ТАКЖЕ
newgrp(1), groupadd(8), groupdel(8), groupmod(8), grpck(8), group(5), gshadow(5).
| 04/19/2025 | shadow-utils 4.17.4 |