Date: Sat, 10 Jun 2006 02:08:48 -0400 From: Tom Rhodes <trhodes@FreeBSD.org> To: Tom Rhodes <trhodes@FreeBSD.org> Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, rwatson@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/usr.sbin/adduser adduser.8 [PATCH] Message-ID: <20060610020848.17b7640a.trhodes@FreeBSD.org> In-Reply-To: <20060607200913.451ce1e1.trhodes@FreeBSD.org> References: <200606070458.k574wuWt080484@repoman.freebsd.org> <20060607114811.L15022@fledge.watson.org> <20060607200913.451ce1e1.trhodes@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 7 Jun 2006 20:09:13 -0400 Tom Rhodes <trhodes@FreeBSD.org> wrote: > On Wed, 7 Jun 2006 11:50:05 +0100 (BST) > Robert Watson <rwatson@FreeBSD.org> 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 .\&
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060610020848.17b7640a.trhodes>