docs/47594: [patch] passwd(5) incorrectly states allowed username and group syntax

venture37 venture37 at geeklan.co.uk
Mon May 26 06:20:01 UTC 2014


The following reply was made to PR docs/47594; it has been noted by GNATS.

From: venture37 <venture37 at geeklan.co.uk>
To: bug-followup at FreeBSD.org, fernando at mecon.gov.ar
Cc:  
Subject: Re: docs/47594: [patch] passwd(5) incorrectly states allowed username
 and group syntax
Date: Mon, 26 May 2014 07:19:31 +0100

 This is a multi-part message in MIME format.
 --------------070708080302060506070403
 Content-Type: text/plain; charset=ISO-8859-1; format=flowed
 Content-Transfer-Encoding: 7bit
 
 Attached is a diff which applies to -HEAD (r266021)
 Checked contents of badchars in pw_checkname(), usr.sbin/pw/pw_user.c to 
 see if the list is still correct.
 
 --------------070708080302060506070403
 Content-Type: text/plain; charset=UTF-8;
  name="passwd.txt"
 Content-Transfer-Encoding: 7bit
 Content-Disposition: attachment;
  filename="passwd.txt"
 
 Index: share/man/man5/passwd.5
 ===================================================================
 --- share/man/man5/passwd.5	(revision 266021)
 +++ share/man/man5/passwd.5	(working copy)
 @@ -126,8 +126,21 @@
  entries, and that one by random selection.
  .Pp
  The login name must never begin with a hyphen
 -.Pq Ql - ;
 -also, it is strongly
 +.Pq Ql \&-
 +and should not contain 8-bit characters, neither tab nor spaces, colons
 +.Pq Ql \&: ,
 +quotes
 +.Pq Ql \&" ,
 +mathematical and comparison operators
 +.Pq Ql \&+*-%^<>=# ,
 +parenthesis
 +.Pq Ql \&() ,
 +and various punctuation and other symbols
 +.Pq Ql \&,&$!@~?|\[rs]/ .
 +As a special case to help Samba users, the dollar symbol
 +.Pq Ql \&$
 +is allowed as the last character.
 +Also, it is strongly
  suggested that neither upper-case characters or dots
  .Pq Ql \&.
  be part
 
 --------------070708080302060506070403--


More information about the freebsd-doc mailing list