From owner-freebsd-bugs Thu Oct 11 9: 0:12 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id D058937B403 for ; Thu, 11 Oct 2001 09:00:02 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id f9BG02O62523; Thu, 11 Oct 2001 09:00:02 -0700 (PDT) (envelope-from gnats) Date: Thu, 11 Oct 2001 09:00:02 -0700 (PDT) Message-Id: <200110111600.f9BG02O62523@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Jim Pirzyk Subject: Re: bin/31049: /usr/sbin/adduser does not allow '.' in login name. [PATCH] Reply-To: Jim Pirzyk Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org The following reply was made to PR bin/31049; it has been noted by GNATS. From: Jim Pirzyk To: "Yar Tikhiy" , Cc: Subject: Re: bin/31049: /usr/sbin/adduser does not allow '.' in login name. [PATCH] Date: Thu, 11 Oct 2001 08:51:36 -0700 On Thursday 11 October 2001 08:11 am, Yar Tikhiy wrote: > Could you quote POSIX on the characters allowed in usernames? > What characters are allowed? This question has to do with the fact > that "adduser" and "pw" use inconsistent algorithms of validating a > username, > so I'd like to fix both. This is grom Garrett: From XBDd6 section 3.426 says: User Name A string that is used to identify a user; see also Section 3.424 (on page 90). To be portable across systems conforming to IEEE Std 1003.1-200x, the value is composed of characters from the portable filename character set. The hyphen should not be used as the first character of a portable user name. - JimP -- --- @(#) $Id: dot.signature,v 1.10 2001/05/17 23:38:49 Jim.Pirzyk Exp $ __o Jim.Pirzyk@disney.com ------------- pirzyk@freebsd.org _'\<,_ Senior Systems Engineer, Walt Disney Feature Animation (*)/ (*) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message