From owner-cvs-src@FreeBSD.ORG Sat Jun 10 06:09:16 2006 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A876016A41B; Sat, 10 Jun 2006 06:09:16 +0000 (UTC) (envelope-from trhodes@FreeBSD.org) Received: from pittgoth.com (ns1.pittgoth.com [216.38.206.188]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3914B43D7C; Sat, 10 Jun 2006 06:09:14 +0000 (GMT) (envelope-from trhodes@FreeBSD.org) Received: from localhost (net-ix.gw.ai.net [205.134.160.6] (may be forged)) (authenticated bits=0) by pittgoth.com (8.13.4/8.13.4) with ESMTP id k5A6Aeog046165 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Sat, 10 Jun 2006 02:10:45 -0400 (EDT) (envelope-from trhodes@FreeBSD.org) Date: Sat, 10 Jun 2006 02:08:48 -0400 From: Tom Rhodes To: Tom Rhodes 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> X-Mailer: Sylpheed version 1.0.6 (GTK+ 1.2.10; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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] X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Jun 2006 06:09:16 -0000 On Wed, 7 Jun 2006 20:09:13 -0400 Tom Rhodes wrote: > On Wed, 7 Jun 2006 11:50:05 +0100 (BST) > Robert Watson 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 .\&