MAN page from OpenSuSE pwdutils-3.2.5-2.4.1.x86_64.rpm
groupmod
Section: Maintenance Commands (8)
Updated: April 2004
Index 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 specifiedon the command line.
OPTIONS
- -g, --gid gid
- Force the new group ID to be the given number. This value must bepositive and unique. The group of any file owned by the old groupmust be changed manually.
- -o, --non-unique
- Allow duplicate (non-unique) group IDs.
- -p, --password password
- Set the encrypted password as returned bycrypt(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 <kukukAATTsuse.de>
Index
- NAME
- SYNOPSIS
- DESCRIPTION
- OPTIONS
- FILES
- SEE ALSO
- AUTHOR
This document was created byman2html,using the manual pages.