cvs commit: src/usr.sbin/adduser adduser.8

Robert Watson rwatson at FreeBSD.org
Wed Jun 7 11:52:48 UTC 2006


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.

Robert N M Watson


More information about the cvs-src mailing list