From owner-freebsd-isp Tue Feb 29 18:39:28 2000 Delivered-To: freebsd-isp@freebsd.org Received: from mail.theinternet.com.au (zeus.theinternet.com.au [203.34.176.2]) by hub.freebsd.org (Postfix) with ESMTP id 6682437BD26 for ; Tue, 29 Feb 2000 18:39:22 -0800 (PST) (envelope-from akm@mail.theinternet.com.au) Received: (from akm@localhost) by mail.theinternet.com.au (8.9.3/8.9.3) id MAA56681; Wed, 1 Mar 2000 12:37:22 +1000 (EST) (envelope-from akm) From: Andrew Kenneth Milton Message-Id: <200003010237.MAA56681@mail.theinternet.com.au> Subject: Re: adduser? In-Reply-To: <20000229214923.8536.qmail@nhj.nlc.net.au> from John Saunders at "Mar 1, 2000 08:49:23 am" To: John Saunders Date: Wed, 1 Mar 2000 12:37:22 +1000 (EST) Cc: Krassimir Slavchev , freebsd-isp@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL61 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org +----[ John Saunders ]--------------------------------------------- | 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. '.' is a deprecated seperator for chown. ':' is now the preferred item... COMPATIBILITY Previous versions of the chown utility used the dot (``.'') character to distinguish the group name. This has been changed to be a colon (``:'') character so that user and group names may contain the dot character. '.' should probably be allowed in adduser -- Totally Holistic Enterprises Internet| P:+61 7 3870 0066 | Andrew Milton The Internet (Aust) Pty Ltd | F:+61 7 3870 4477 | ACN: 082 081 472 | M:+61 416 022 411 | Carpe Daemon PO Box 837 Indooroopilly QLD 4068 |akm@theinternet.com.au| To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message