[Pkg-shadow-devel] Bug#377844: IMHO, the RE in useradd.8 doesn't match its description.

shaulka at 012.net.il shaulka at 012.net.il
Tue Jul 11 15:42:41 UTC 2006


Package: passwd
Version: 1:4.0.16-2
Severity: normal
Tag: patch

  If I read the description correctly then a $ sign is premitted from the 2nd position just
like the other permitted characters.

--- useradd.8.orig      2006-07-11 18:15:24.000000000 +0300
+++ useradd.8   2006-07-11 18:15:08.000000000 +0300
@@ -152,7 +152,7 @@
 Similarly, if the username already exists in an external user database such as NIS, \fBuseradd\fR will deny the user account creation request\&.

 .PP
-On Debian, the constraints on the username are lowered: Usernames must neither start by a dash ('\-') nor contain a colon (':') or an end of line ('\\n')\&. However, it is usually recommended to only use usernames that begin with a lower case letter or an underscore, and are only followed by lower case letters, underscores, dashes, and dollar signs\&. In regular expression terms: [a\-z_][a\-z0\-9_\-]*[$]
+On Debian, the constraints on the username are lowered: Usernames must neither start by a dash ('\-') nor contain a colon (':') or an end of line ('\\n')\&. However, it is usually recommended to only use usernames that begin with a lower case letter or an underscore, and are only followed by lower case letters, underscores, dashes, and dollar signs\&. In regular expression terms: [a\-z_][a\-z0\-9_\-$]*

 .SH "FILES"







More information about the Pkg-shadow-devel mailing list