On Wed, 7 Jun 2006 20:09:13 -0400 Tom Rhodes <[EMAIL PROTECTED]> wrote:
> On Wed, 7 Jun 2006 11:50:05 +0100 (BST) > Robert Watson <[EMAIL PROTECTED]> wrote: > > > > > On Wed, 7 Jun 2006, Tom Rhodes wrote: > > > > > trhodes 2006-06-07 04:58:55 UTC > > > > > > FreeBSD src repository > > > > > > Modified files: > > > usr.sbin/adduser adduser.8 > > > Log: > > > Add adding_user.8 to SEE ALSO, note that usernames may contain any > > > character > > > but not being with a hyphen, similar to adding_user.8. > > > > I suspect that the language in this man page suggests a bit more > > flexibility > > in user naming than is actually the case. For example, usernames cannot > > contain the ':' character, by virtue of that being the delimiter of the > > user > > file. Likewise, they should not include a '/', as that prevents the user's > > name from being used for the name of their home directory. I suspect the > > right approach is to come up with a list of characters that can be included > > in > > usernames, rather than one that can't. > > This was something I thought about before and after the commit, > but the right wording needs to appear in my brain first. Let me > mull this over a bit and hopefully patch it up with something > much better. FWIW, I don't really like the wording in this > manual page. Something like this maybe? And then recommend people read this manual page. ;) -- Tom Rhodes Index: adding_user.8 =================================================================== RCS file: /home/ncvs/src/share/man/man8/adding_user.8,v retrieving revision 1.10 diff -u -r1.10 adding_user.8 --- adding_user.8 21 Jan 2005 08:36:40 -0000 1.10 +++ adding_user.8 10 Jun 2006 06:05:50 -0000 @@ -32,7 +32,7 @@ .\" @(#)adduser.8 8.1 (Berkeley) 6/5/93 .\" $FreeBSD: src/share/man/man8/adding_user.8,v 1.10 2005/01/21 08:36:40 ru Exp $ .\" -.Dd June 5, 1993 +.Dd June 10, 2006 .Dt ADDING_USER 8 .Os .Sh NAME @@ -46,6 +46,9 @@ It must also not begin with the hyphen .Sq Fl character. +The login name may contain any character that is alpha or numeric, +a-z and 0-9 are valid. +Special characters, such as slashes, could have negative effects. It is strongly recommended that it be all lower-case, and not contain the dot .Ql .\& _______________________________________________ [email protected] mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "[EMAIL PROTECTED]"
