From owner-freebsd-hackers Sat Oct 13 2: 5:35 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from snark.rinet.ru (snark.rinet.ru [195.54.192.73]) by hub.freebsd.org (Postfix) with ESMTP id 82F3A37B40B for ; Sat, 13 Oct 2001 02:05:32 -0700 (PDT) Received: (from yar@localhost) by snark.rinet.ru (8.11.6/8.11.6) id f9D95AH95001; Sat, 13 Oct 2001 13:05:10 +0400 (MSD) (envelope-from yar) Date: Sat, 13 Oct 2001 13:05:10 +0400 From: Yar Tikhiy To: Peter Pentchev Cc: Warner Losh , hackers@FreeBSD.ORG Subject: Re: Valid user name Message-ID: <20011013130510.B93286@snark.rinet.ru> References: <20011012145227.D46577@snark.rinet.ru> <200110121552.f9CFqA793345@harmony.village.org> <20011012192457.A74895@straylight.oblivion.bg> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20011012192457.A74895@straylight.oblivion.bg> User-Agent: Mutt/1.3.22.1i Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Fri, Oct 12, 2001 at 07:24:57PM +0300, Peter Pentchev wrote: > On Fri, Oct 12, 2001 at 09:52:10AM -0600, Warner Losh wrote: > > In message <20011012145227.D46577@snark.rinet.ru> Yar Tikhiy writes: > > : Is there any reason to omit the period ('.') from the list of valid > > : characters? With the period included, the list would conform to > > : POSIX's definition of a valid user name. > > > > Not any more. it used to be that chown user.group would be > > ambiguous. now it isn't, since user:group is the right syntax. > > This might be a problem for NIS or Kerberos domains - an older version > of FreeBSD might be confuzzled by usernames which are perfectly valid > for the rest of the client boxes. Oh, I see. Given that the only issue about the period in user names is compatibility, should pw(8) and adduser(8) still reject it or accept it and print a warning? I think printing a warning is better since the validity check is by no means a panacea--a stupid admin can always use vipw(8) to create any kind of an invalid user name. -- Yar To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message