3 .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author]
4 .\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
6 .\" Manual: Systemhanteringskommandon
7 .\" Source: Systemhanteringskommandon
10 .TH "GROUPADD" "8" "16-02-2011" "Systemhanteringskommandon" "Systemhanteringskommandon"
11 .\" -----------------------------------------------------------------
12 .\" * Define some portability stuff
13 .\" -----------------------------------------------------------------
14 .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
15 .\" http://bugs.debian.org/507673
16 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
17 .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
20 .\" -----------------------------------------------------------------
21 .\" * set default formatting
22 .\" -----------------------------------------------------------------
23 .\" disable hyphenation
25 .\" disable justification (adjust text to left margin only)
27 .\" -----------------------------------------------------------------
28 .\" * MAIN CONTENT STARTS HERE *
29 .\" -----------------------------------------------------------------
31 groupadd \- skapa en ny grupp
33 .HP \w'\fBgroupadd\fR\ 'u
34 \fBgroupadd\fR [\fIflaggor\fR] \fIgrupp\fR
39 command creates a new group account using the values specified on the command line plus the default values from the system\&. The new group will be entered into the system files as needed\&.
42 Flaggorna som g\(:aller f\(:or kommandot
46 \fB\-f\fR, \fB\-\-force\fR
48 This option causes the command to simply exit with success status if the specified group already exists\&. When used with
49 \fB\-g\fR, and the specified GID already exists, another (unique) GID is chosen (i\&.e\&.
54 \fB\-g\fR, \fB\-\-gid\fR\fIGID\fR
56 The numerical value of the group\*(Aqs ID\&. This value must be unique, unless the
58 option is used\&. The value must be non\-negative\&. The default is to use the smallest ID value greater than 999 and greater than every other group\&. Values between 0 and 999 are typically reserved for system accounts\&.
61 \fB\-h\fR, \fB\-\-help\fR
63 Visa hj\(:alpmeddelande och avsluta\&.
66 \fB\-K\fR, \fB\-\-key\fR\fINYCKEL\fR=\fIV\(:ARDE\fR
68 \(oAsidos\(:atter standardv\(:arden i
70 (GID_MIN, GID_MAX och andra)\&. Flera flaggor av
75 \fB\-K \fR\fIGID_MIN\fR=\fI100\fR
76 \fB\-K \fR\fIGID_MAX\fR=\fI499\fR
79 \fB\-K \fR\fIGID_MIN\fR=\fI10\fR,\fIGID_MAX\fR=\fI499\fR
80 fungerar \(:annu inte\&.
83 \fB\-o\fR, \fB\-\-non\-unique\fR
85 This option permits to add a group with a non\-unique GID\&.
88 \fB\-p\fR, \fB\-\-password\fR\fIL\(:OSENORD\fR
90 The encrypted password, as returned by
91 \fBcrypt\fR(3)\&. The default is to disable the password\&.
95 This option is not recommended because the password (or encrypted password) will be visible by users listing the processes\&.
97 You should make sure the password respects the system\*(Aqs password policy\&.
100 \fB\-r\fR, \fB\-\-system\fR
102 Create a system group\&.
104 The numeric identifiers of new system groups are choosen in the
105 \fBSYS_GID_MIN\fR\-\fBSYS_GID_MAX\fR
107 login\&.defs, instead of
108 \fBGID_MIN\fR\-\fBGID_MAX\fR\&.
112 The following configuration variables in
114 change the behavior of this tool:
116 \fBGID_MAX\fR (number), \fBGID_MIN\fR (number)
118 Range of group IDs used for the creation of regular groups by
124 \fBMAX_MEMBERS_PER_GROUP\fR (number)
126 Maximum members per group entry\&. When the maximum is reached, a new group entry (line) is started in
128 (with the same name, same password, and same GID)\&.
130 The default value is 0, meaning that there are no limits in the number of members in a group\&.
132 This feature (split group) permits to limit the length of lines in the group file\&. This is useful to make sure that lines for NIS groups are not larger than 1024 characters\&.
134 If you need to enforce such limit, you can use 25\&.
136 Note: split groups may not be supported by all tools (even in the Shadow toolsuite)\&. You should not use this variable unless you really need it\&.
139 \fBSYS_GID_MAX\fR (number), \fBSYS_GID_MIN\fR (number)
141 Range of group IDs used for the creation of system groups by
150 Gruppkontoinformation\&.
155 S\(:aker gruppkontoinformation\&.
160 Shadow password suite configuration\&.
164 Groupnames must start with a lower case letter or an underscore, followed by lower case letters, digits, underscores, or dashes\&. They can end with a dollar sign\&. In regular expression terms: [a\-z_][a\-z0\-9_\-]*[$]?
166 Groupnames may only be up to characters long\&.
168 You may not add a NIS or LDAP group\&. This must be performed on the corresponding server\&.
170 If the groupname already exists in an external group database such as NIS or LDAP,
172 will deny the group creation request\&.
173 .SH "AVSLUTNINGSV\(:ARDEN"
177 avslutas med f\(:oljande v\(:arden:
186 ogiltig kommandosyntax
191 ogiltigt argument till flagga
196 GID inte unikt (n\(:ar
208 kan inte uppdatera gruppfilen