]> git.pld-linux.org Git - packages/shadow.git/blame - shadow-pld.patch
- copied from shadow-4.0.7/etc/login.defs.linux
[packages/shadow.git] / shadow-pld.patch
CommitLineData
60286d9a 1diff -urN shadow-4.0.6.orig/lib/getdef.c shadow-4.0.6/lib/getdef.c
2--- shadow-4.0.6.orig/lib/getdef.c 2004-11-18 15:47:10.965296168 +0100
3+++ shadow-4.0.6/lib/getdef.c 2004-11-18 21:45:00.695401080 +0100
4@@ -112,6 +112,10 @@
9a8f7050
JB
5 { "SYSLOG_SG_ENAB", NULL },
6 { "SYSLOG_SU_ENAB", NULL },
7 #endif
60286d9a 8+ { "SYS_GID_MAX", NULL },
9+ { "SYS_GID_MIN", NULL },
10+ { "SYS_UID_MAX", NULL },
11+ { "SYS_UID_MIN", NULL },
9a8f7050
JB
12 { "TTYGROUP", NULL },
13 { "TTYPERM", NULL },
14 { "TTYTYPE_FILE", NULL },
60286d9a 15diff -urN shadow-4.0.6.orig/man/groupadd.8 shadow-4.0.6/man/groupadd.8
16--- shadow-4.0.6.orig/man/groupadd.8 2004-11-18 15:47:10.923302552 +0100
17+++ shadow-4.0.6/man/groupadd.8 2004-11-18 21:45:00.695401080 +0100
4cf9fafc 18@@ -30,7 +30,7 @@
9a8f7050
JB
19 groupadd \- Create a new group
20 .SH SYNOPSIS
4cf9fafc 21 .TP 6
9a8f7050
JB
22-\fBgroupadd\fR [\fB-g\fI gid \fR[\fB-o\fR]] [\fB-f\fR] \fIgroup\fR
23+\fBgroupadd\fR [\fB-g\fI gid \fR[\fB-o\fR]] [\fB-f\fR] [\fB-r\fR] \fIgroup\fR
24 .SH DESCRIPTION
4cf9fafc
JB
25 The \fBgroupadd\fR command creates a new group account using the values
26 specified on the command line and the default values from the system. The
60286d9a 27@@ -41,6 +41,9 @@
9a8f7050
JB
28 This option causes to just exit with success status if the specified
29 group already exists. With \fB-g\fR, if specified gid already exists,
30 other (unique) gid is chosen (i.e. \fB-g\fR is turned off).
31+.IP "\fB-r\fR"
32+This flag is used to create a system group, with gid lower than usual
33+(chosen between SYS_GID_MIN and SYS_GID_MAX).
60286d9a 34 .IP "\fB-g\fR \fIgid\fR"
35 The numerical value of the group's ID. This value must be unique, unless the
36 \fB-o\fR option is used. The value must be non-negative. The default is to
37diff -urN shadow-4.0.6.orig/man/pl/groupadd.8 shadow-4.0.6/man/pl/groupadd.8
38--- shadow-4.0.6.orig/man/pl/groupadd.8 2004-11-18 15:47:10.946299056 +0100
39+++ shadow-4.0.6/man/pl/groupadd.8 2004-11-18 21:45:00.696400928 +0100
9a8f7050
JB
40@@ -30,7 +30,7 @@
41 .SH NAZWA
42