From owner-freebsd-isp Tue Feb 29 22:49:19 2000 Delivered-To: freebsd-isp@freebsd.org Received: from misery.sdf.com (misery.sdf.com [204.244.213.49]) by hub.freebsd.org (Postfix) with ESMTP id B0A8737BF29 for ; Tue, 29 Feb 2000 22:49:13 -0800 (PST) (envelope-from tom@sdf.com) Received: from tom (helo=localhost) by misery.sdf.com with local-esmtp (Exim 2.12 #1) id 12Q2tC-0001dV-00; Tue, 29 Feb 2000 22:45:42 -0800 Date: Tue, 29 Feb 2000 22:45:38 -0800 (PST) From: Tom To: John Saunders Cc: Krassimir Slavchev , freebsd-isp@freebsd.org Subject: Re: adduser? In-Reply-To: <20000229214923.8536.qmail@nhj.nlc.net.au> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On 1 Mar 2000, John Saunders wrote: > In nlc.lists.freebsd-isp you wrote: > > We plan to migrate from Linux to FreeBSD, and have some users with dot > > in its username's. > > I tried to add new user with a dot in its username, but adduser accepts > > only [a-z0-9_-]. > > Is there any reasons this to be not allowed? > > Suppose the username is fred.smith and the account is in a group called > customers. So you want to fix up the ownership permissions on his > directory when he mucks it up be playing around one day. > > # chown -R fred.smith.customers ~fred.smith > > Chown cannot determine which '.' seperates the username from the group. > That is about the only problem I came across when (briefly) allowing > usernames with a '.' in them. Mainly the automated scripts bit me. Actually, ":" is a supported separator for chown as well. > -- +------------------------------------------------------------+ > . | John Saunders - mailto:john@nlc.net.au (EMail) | > ,--_|\ | - http://www.nlc.net.au/ (WWW) | > / Oz \ | - 02-9489-4932 or 04-1822-3814 (Phone) | > \_,--\_/ | NORTHLINK COMMUNICATIONS P/L - Supplying a professional, | > v | and above all friendly, internet connection service. | > +------------------------------------------------------------+ Tom To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message