Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 May 2014 06:20:00 GMT
From:      venture37 <venture37@geeklan.co.uk>
To:        freebsd-doc@FreeBSD.org
Subject:   Re: docs/47594: [patch] passwd(5) incorrectly states allowed username and group syntax
Message-ID:  <201405260620.s4Q6K031097693@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR docs/47594; it has been noted by GNATS.

From: venture37 <venture37@geeklan.co.uk>
To: bug-followup@FreeBSD.org, fernando@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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201405260620.s4Q6K031097693>