Date: Wed, 1 Mar 2000 12:37:22 +1000 (EST) From: Andrew Kenneth Milton <akm@mail.theinternet.com.au> To: John Saunders <john.saunders@nlc.net.au> Cc: Krassimir Slavchev <krassi@bulinfo.net>, freebsd-isp@FreeBSD.ORG Subject: Re: adduser? Message-ID: <200003010237.MAA56681@mail.theinternet.com.au> In-Reply-To: <20000229214923.8536.qmail@nhj.nlc.net.au> from John Saunders at "Mar 1, 2000 08:49:23 am"
next in thread | previous in thread | raw e-mail | index | archive | help
+----[ 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200003010237.MAA56681>
