*** UNIX MANUAL PAGE BROWSER ***

A Nergahak database for man pages research.

Navigation

Directory Browser

1Browse 4.4BSD4.4BSD
1Browse Digital UNIXDigital UNIX 4.0e
1Browse FreeBSDFreeBSD 14.3
1Browse MINIXMINIX 3.4.0rc6-d5e4fc0
1Browse NetBSDNetBSD 10.1
1Browse OpenBSDOpenBSD 7.7
1Browse UNIX v7Version 7 UNIX
1Browse UNIX v10Version 10 UNIX

Manual Page Search

Manual Page Result

0 Command: addgroup | Section: 8 | Source: Digital UNIX | File: addgroup.8.gz
addgroup(8) System Manager's Manual addgroup(8) NAME addgroup - Adds a new group interactively SYNOPSIS /usr/sbin/addgroup DESCRIPTION Security Note If you have enhanced security installed on your system, you should use the dxaccounts program to add a group. See Security and the dxac- counts(8X) reference page for more information. The addgroup command is an interactive program for adding new groups to the /etc/group file. The program prompts you for specific information and informs you of its activity and error conditions. Only the superuser can execute this command. The program performs the following tasks: Queries for a new group name. The default can be chosen by pressing the Return key, which will cause the program to exit without adding a new group. Enter the new group name, 8 characters or less, or Return to exit. If the new group en- tered already exists in the /etc/group file, the program informs you of this and cycles back to the query for a new group name. If the new group entered does not already exist, the program continues. Queries for a group number (GID) for the new group. A default GID, which is based on previously existing GID's in the /etc/group file, is displayed and can be selected by pressing the Return key. Enter a new GID or ac- cept the default. If the new GID entered already exists in the /etc/group file, the program informs you of this and cycles back to the query for a new group number (GID). If the new GID entered does not already exist in the /etc/group file, the program uses this GID and adds the new group to the /etc/group file. At this point, the program ends. RESTRICTIONS The group name is limited to eight characters. EXAMPLES Enter a new group name or <Return> to exit: newgroup Enter a new group number [112]: FILES Specifies the command path. Group file Lock file RELATED INFORMATION Commands: adduser(8), dxaccounts(8X), removeuser(8) Files: group(4) delim off addgroup(8)

Navigation Options