[Pkg-shadow-commits] r608 - in trunk/debian: . patches

Christian Perrier bubulle at costa.debian.org
Fri Oct 14 18:13:42 UTC 2005


Author: bubulle
Date: 2005-10-14 18:13:39 +0000 (Fri, 14 Oct 2005)
New Revision: 608

Added:
   trunk/debian/patches/457_document_useradd_groupadd_nis
Modified:
   trunk/debian/changelog
   trunk/debian/patches/series
Log:
Document that doing stupid things such as adding groups with the same group
name than groups in NIS databases is just plain stupid and will not be
implemented.
Hint: say this in a politically correct way


Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog	2005-10-13 20:44:15 UTC (rev 607)
+++ trunk/debian/changelog	2005-10-14 18:13:39 UTC (rev 608)
@@ -9,6 +9,12 @@
                      removed
     - debian/login.defs:
       - fix a typo.
+  * Patches to upstream man pages, not yet applied upstream:
+    - debian/patches/457_document_useradd_groupadd_nis:
+      Document that low level utilities will certainly never
+      implement strange behaviour such as adding local users or groups with
+      logins existing in external databases
+      Closes: #282184
 
  -- Christian Perrier <bubulle at debian.org>  Thu, 13 Oct 2005 20:21:36 +0200
 

Added: trunk/debian/patches/457_document_useradd_groupadd_nis
===================================================================
--- trunk/debian/patches/457_document_useradd_groupadd_nis	2005-10-13 20:44:15 UTC (rev 607)
+++ trunk/debian/patches/457_document_useradd_groupadd_nis	2005-10-14 18:13:39 UTC (rev 608)
@@ -0,0 +1,45 @@
+Goal: Document that useradd/groupadd refuse adding entries already in an
+      external database.
+
+Fixes: #282184
+
+Status wrt upstream: Forwarded but not applied in 4.0.13
+
+Index: shadow-4.0.13/man/groupadd.8.xml
+===================================================================
+--- shadow-4.0.13.orig/man/groupadd.8.xml	2005-09-30 18:16:20.000000000 +0200
++++ shadow-4.0.13/man/groupadd.8.xml	2005-10-14 19:21:31.889986342 +0200
+@@ -139,6 +139,15 @@
+        follow. In regular expression terms: [a-z_][a-z0-9_-]*[$]
+      </para>
+      <para>Groupnames may only be up to 16 characters long.</para>
++
++     <para>
++       If the groupname already exists in an external group database
++       such as NIS, <command>groupadd</command> will deny the group
++       creation request.
++     </para>
++
++     <para>Groupnames may only be up to 16 characters long.</para>
++
+    </refsect1>
+ 
+   <refsect1 id='exit_values'>
+Index: shadow-4.0.13/man/useradd.8.xml
+===================================================================
+--- shadow-4.0.13.orig/man/useradd.8.xml	2005-10-14 19:20:57.559973008 +0200
++++ shadow-4.0.13/man/useradd.8.xml	2005-10-14 19:21:41.078116422 +0200
+@@ -348,6 +348,13 @@
+       You may not add a user to a NIS group. This must be performed on the
+       NIS server.
+     </para>
++
++     <para>
++       Similarly, if the username already exists in an external group
++       database such as NIS, <command>useradd</command> will deny
++       the user account creation request.
++     </para>
++
+     <para>
+       Usernames must begin with a lower case letter or an underscore, and
+       only lower case letters, underscores, dashes, and dollar signs may

Modified: trunk/debian/patches/series
===================================================================
--- trunk/debian/patches/series	2005-10-13 20:44:15 UTC (rev 607)
+++ trunk/debian/patches/series	2005-10-14 18:13:39 UTC (rev 608)
@@ -53,6 +53,7 @@
 455_userdel.8.xml
 456_configure_typo_logdir
 501_commonio_group_shadow
+457_document_useradd_groupadd_nis
 # 999-2 is about using cdbs. It does not patch upstream files
 # so shouldn't be here, but we keep it for the future
 # 999-2_build_using_cdbs




More information about the Pkg-shadow-commits mailing list