[Pkg-shadow-commits] r2973 - in debian/trunk/debian: . patches
Nicolas FRANÇOIS
nekral-guest at alioth.debian.org
Thu May 21 15:55:29 UTC 2009
Author: nekral-guest
Date: 2009-05-21 15:55:29 +0000 (Thu, 21 May 2009)
New Revision: 2973
Modified:
debian/trunk/debian/changelog
debian/trunk/debian/patches/506_relaxed_usernames
Log:
* debian/patches/506_relaxed_usernames: usernames with a slash will not only
break one option. Move to the discussion on the usernames.
Modified: debian/trunk/debian/changelog
===================================================================
--- debian/trunk/debian/changelog 2009-05-21 15:30:36 UTC (rev 2972)
+++ debian/trunk/debian/changelog 2009-05-21 15:55:29 UTC (rev 2973)
@@ -13,8 +13,10 @@
* debian/login.defs: Removed comment about MD5_CRYPT. MD5_CRYPT_ENAB is no
more used by chpasswd and newusers.
* debian/patches/*: Updated patches to the new quilt and shadow versions.
+ * debian/patches/506_relaxed_usernames: usernames with a slash will not only
+ break one option. Move to the discussion on the usernames.
- -- Nicolas FRANCOIS (Nekral) <nicolas.francois at centraliens.net> Thu, 21 May 2009 17:29:42 +0200
+ -- Nicolas FRANCOIS (Nekral) <nicolas.francois at centraliens.net> Thu, 21 May 2009 17:54:22 +0200
shadow (1:4.1.4-3) unstable; urgency=low
Modified: debian/trunk/debian/patches/506_relaxed_usernames
===================================================================
--- debian/trunk/debian/patches/506_relaxed_usernames 2009-05-21 15:30:36 UTC (rev 2972)
+++ debian/trunk/debian/patches/506_relaxed_usernames 2009-05-21 15:55:29 UTC (rev 2973)
@@ -1,8 +1,6 @@
Goal: Relaxed usernames/groupnames checking patch.
Status wrt upstream: Debian specific. Not to be used upstream
- The documentation of the username length restriction
- was added upstream
Details:
Allows any non-empty user/grounames that don't contain ':' and '\n'
@@ -50,15 +48,7 @@
}
--- a/man/useradd.8.xml
+++ b/man/useradd.8.xml
-@@ -197,6 +197,7 @@
- <option>INACTIVE</option> variable in
- <filename>/etc/default/useradd</filename>, or -1 by default.
- </para>
-+ <para>This option may not function correctly if the username has a / in it.</para>
- </listitem>
- </varlistentry>
- <varlistentry>
-@@ -607,12 +608,17 @@
+@@ -607,12 +607,19 @@
</para>
<para>
@@ -70,8 +60,10 @@
</para>
<para>
+ On Debian, the only constraints are that usernames must neither start
-+ with a dash ('-') nor contain a colon (':') or a whitespace (space:' ',
-+ end of line: '\n', tabulation: '\t', etc.).
++ with a dash ('-') nor contain a colon (':') or a whitespace (space: ' ',
++ end of line: '\n', tabulation: '\t', etc.). Note that using a slash
++ ('/') may break the default algorithm for the definition of the
++ user's home directory.
+ </para>
+ <para>
Usernames may only be up to 32 characters long.
More information about the Pkg-shadow-commits
mailing list