*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->Tru64 Unix man pages -> addgroup (8)              
Title
Content
Arch
Section
 

addgroup(8)

Contents


NAME    [Toc]    [Back]

       addgroup - Adds a new group interactively

SYNOPSIS    [Toc]    [Back]

       /usr/sbin/addgroup

DESCRIPTION    [Toc]    [Back]

                             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  dxaccounts(8)  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 entered
       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 accept 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.

       This interface has been superseded by  the  groupadd  command-line
  interface, and the Account Manager (dxaccounts)
       graphical user interface.

RESTRICTIONS    [Toc]    [Back]

       The group name is limited to eight characters.

EXAMPLES    [Toc]    [Back]

       Enter a new group name or <Return> to exit: newgroup Enter
       a new group number [112]:









FILES    [Toc]    [Back]

       Specifies the command path.  Group file Lock file

SEE ALSO    [Toc]    [Back]

      
      
       Commands:  adduser(8),     dxaccounts(8),     groupadd(8),
       removeuser(8)

       Files:  group(4)



                                                      addgroup(8)
[ Back ]
 Similar pages
Name OS Title
adduser Tru64 Adds a new user interactively
groupadd Tru64 Adds a new group definition
rpccp_add_member HP-UX Adds a member to a group in a name service entry; if the specified entry does not exist, creates the entry
nslookup HP-UX query name servers interactively
write HP-UX interactively write (talk) to another user
nslookup Tru64 Queries Internet name servers interactively
removeuser Tru64 Deletes user accounts interactively
nslookup Linux query Internet name servers interactively
nslookup OpenBSD query Internet name servers interactively
nsupdate FreeBSD update Internet name servers interactively
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service