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

From: venture37 <[email protected]>
To: [email protected], [email protected]
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--
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-doc
To unsubscribe, send any mail to "[email protected]"

Reply via email to