update manpages to include restrictions on valid names #44039
authorMike Frysinger <vapier@gentoo.org>
Mon, 10 Jan 2005 06:41:40 +0000 (06:41 +0000)
committerMike Frysinger <vapier@gentoo.org>
Mon, 10 Jan 2005 06:41:40 +0000 (06:41 +0000)
sys-apps/shadow/Manifest
sys-apps/shadow/files/shadow-4.0.6-dots-in-usernames.patch
sys-apps/shadow/files/shadow-4.0.6-long-groupnames.patch

index 9caf05956b803cb55a96923ed1d5fe83f1219f56..7ccee1a318cdd9153a73ac4ae21f2cd675b91f16 100644 (file)
@@ -29,8 +29,8 @@ MD5 d8b8542a7bc013011a293732ca504a50 files/digest-shadow-4.0.5-r3 66
 MD5 c5e9081ed43837797e2f1617b7ce1c24 files/shadow-4.0.5-fix-adding-of-pam_env-set-env-vars.patch 285
 MD5 fda41657b856ffaeec5a2734b312409b files/shadow-4.0.5-fix-mail-configure.patch 5452
 MD5 d15398f7d8c06b906abdf73ae3a55f54 files/shadow-4.0.6-manpages.patch 564
-MD5 722c164266b87cc374eae4ce1de7632b files/shadow-4.0.6-dots-in-usernames.patch 882
-MD5 fcbc820ddc961b2b153ccc5a7a62935b files/shadow-4.0.6-long-groupnames.patch 659
+MD5 1df33165731b93f2292d5fb4c5a36d1e files/shadow-4.0.6-dots-in-usernames.patch 1993
+MD5 8bf11ce0e8ee683fe290462473871dab files/shadow-4.0.6-long-groupnames.patch 1625
 MD5 6e0bc0211949c624da0ea08d994a7038 files/default/useradd 96
 MD5 51b0337bd261f6ed5e53af5dc196431a files/pam.d/system-auth 499
 MD5 a5311bbc9c1fc378a6b0bfb3ca1b2394 files/pam.d/login 431
@@ -42,7 +42,7 @@ MD5 624bacd4dd8e9855404cd262dd6f8f62 files/pam.d/system-auth-1.1 671
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.9.14 (GNU/Linux)
 
-iD8DBQFB4iI3roRuSHgZdywRAkMKAJ9D4VG7wuORt92xJ+IO8mQL21TVkwCeKWNO
-aZpz+QS/fPxdTbw5QZS1I+k=
-=EFcc
+iD8DBQFB4iO6roRuSHgZdywRAhp3AJ9U7fGyxZqGQpTI1N+V9qH5gXEnsgCdFkAw
+sIiJSvusdnbAIl5Bg2Hb3oc=
+=7TdX
 -----END PGP SIGNATURE-----
index c02fd8a656f389074aecbe5b6f610eb754c96d9c..48e27174b81e511dd9f7fab9b0bdbe7c4caaaad0 100644 (file)
@@ -26,3 +26,34 @@ diff -u -r1.8 chkname.c
                      (*name == '$' && *(name + 1) == '\0')))
                        return 0;
        }
+Index: man/useradd.8
+===================================================================
+RCS file: /cvsroot/shadow/man/useradd.8,v
+retrieving revision 1.23
+diff -u -r1.23 useradd.8
+--- man/useradd.8      11 Dec 2004 20:05:01 -0000      1.23
++++ man/useradd.8      10 Jan 2005 06:40:15 -0000
+@@ -128,6 +128,23 @@
+ .PP
+ If no options are specified, \fBuseradd\fR displays the current default
+ values.
++.SH RESTRICTS
++Currently,  the  shadow  suite  enforces  the following restrictions on 
++user names:
++
++.nf
++\- must begin with a lower case letter or underscore
++\- can only contain lower case letters, underscores, and dashes
++\- may end with a dollar sign
++\- regex for these requirements: [a\-z_][a\-z0-9_\-$]*
++.fi
++
++The length of usernames is restricted by glibc (via the UT_NAMESIZE define 
++in the utmp header file).  This may range from 8 characters on older 
++systems to 32 characters on newer systems.
++
++Note Gentoo adds a patch which allows people to create usernames with a 
++dot in them.
+ .SH NOTES
+ The system administrator is responsible for placing the default user files
+ in the \fI/etc/skel/\fR directory.
index 4ca93018a37dde4d92124abbd1086b21644b766c..411dc5d40b682e6e4de4cbd94f6db171a80c64e7 100644 (file)
@@ -21,3 +21,29 @@ diff -u -r1.8 chkname.c
  
        return good_name (name);
  }
+Index: man/groupadd.8
+===================================================================
+RCS file: /cvsroot/shadow/man/groupadd.8,v
+retrieving revision 1.21
+diff -u -r1.21 groupadd.8
+--- man/groupadd.8     4 Nov 2004 03:06:31 -0000       1.21
++++ man/groupadd.8     10 Jan 2005 06:36:51 -0000
+@@ -46,6 +46,18 @@
+ \fB-o\fR 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.
++.SH RESTRICTIONS
++Currently, the shadow suite enforces the following restrictions on group 
++names:
++
++.nf
++\- must begin with a lower case letter or underscore
++\- can only contain lower case letters, underscores, and dashes
++\- regex for these requirements: [a\-z_][a\-z0\-9_\-]*
++.fi
++
++Normally shadow enforces a 16 character limit, but Gentoo adds patches to 
++remove it.
+ .SH FILES
+ \fI/etc/group\fR      \- group account information
+ .br