SEARCH
NEW RPMS
DIRECTORIES
ABOUT
FAQ
VARIOUS
BLOG
DONATE


YUM REPOSITORY

 
 

MAN page from OpenSuSE pwdutils-3.2.5-2.4.1.x86_64.rpm

groupadd

Section: Maintenance Commands (8)
Updated: December 2003
Index 

NAME

groupadd - create a new group entry 

SYNOPSIS

groupadd [-D binddn] [-P path] [-g gid [-o]] [-p password] [--preferred-gid gid]

[-r] [--service service] [--help] [--usage] [-v] group
 

DESCRIPTION

groupadd creates a new group entry using the values specifiedon the command line. Depending on the command line options the newentry will be added to the system files or LDAP database.

The group name must begin with an alphabetic character and the restof the string should be from the POSIX portable character class([A-Za-z_][A-Za-z0-9_-.]*). 

OPTIONS

-g, --gid gid
Force the new group ID to be the given number. This value must bepositive and unique. The default is to use the first free ID afterthe greatest used one. The range from which the group ID is chosencan be specified in /etc/login.defs.
--preferred-gid gid
Set the new group ID to the specified value if possible. If that valueis already in use the first free ID will be chosen as describedabove.
-o, --non-unique
Allow duplicate (non-unique) group IDs.
-p, --password password
Encrypted password as returned bycrypt(3)for the new account. The default is to disable the account.
-r, --system
Create a system group. A system group is an entry with an GIDbetween SYSTEM_GID_MIN and SYSTEM_GID_MAX as defined in/etc/login.defs, if no GID is specified.
--service service
Add the group to a special directory. The default is files,but ldap is also valid.
-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.groupadd will use this files, not /etc/group.
--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),groupdel(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.