NAME


groupmod - modify a group entry

SYNOPSIS


groupmod [-D binddn] [-P path] [-g gid [-o]] [-p password]
 [-A user] [-R user] [--service service] [--help] [-v] [--usage] group

DESCRIPTION


groupmod modifies a group entry using the values specified on the command line.

OPTIONS


-g, --gid gid
 Force the new group ID to be the given number. This value must be positive and unique. The group of any file owned by the old group must be changed manually.
-o, --non-unique
 Allow duplicate (non-unique) group IDs.
-p, --password password
 Set the encrypted password as returned by crypt(3) as the new group password.
-A, --add-user user
 Add the user account to the specified group.
-R, --remove-user user
 Remove the user account from the specified group.
-D, --binddn binddn
 Use the Distinguished Name binddn to bind to the LDAP directory. The user will be prompted for a password for simple authentication.
-P, --path path
 The group file is located below the specified directory path. groupmod will use this file, not /etc/group.
--service service
 Modify the group from a special directory. The default is files, but ldap is also valid.
--help Print a list of valid options with a short description.
--usage Print a short list of valid options.
-v, --version
 Print the version number and exit.

FILES


/etc/group - group account information

SEE ALSO


login.defs(5), group(5), groupadd(8), groupmod(8)

AUTHOR


Thorsten Kukuk <kukuk@suse.de>

openSUSE Logo

Contents