Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Feb 2000 06:31:57 -0500
From:      "Troy Settle" <troy@picus.com>
To:        "Krassimir Slavchev" <krassi@bulinfo.net>, <freebsd-questions@freebsd.org>
Subject:   RE: adduser?
Message-ID:  <NDBBLOMCGLFPEPCPJEKKCEFECAAA.troy@picus.com>
In-Reply-To: <38BA3DAA.363A8818@bulinfo.net>

next in thread | previous in thread | raw e-mail | index | archive | help

cross-post to -isp removed because cross-posting is a rude thing to do...



You can easily modify the adduser script to accept the '.' in a username.
It will function for the most part (can telnet in, authenticate via pop,
etc...), but this is NOT advisable.

For example:

# chown test.user somefile
chown: user: illegal group name

You'll also run into problems with some software.  Cyrus imapd comes to
mind.  It uses the '.' to specify the path to a mailbox.  There is surely
other software that will freak on you by having a '.' in the username.

My best suggestion would be to replace the periods with underscores or
dashes, then create appropriate mail aliases to minimize confusion.

Also, if you are going to migrate from Linux to FreeBSD, I would reccomend
against using adduser.  It should only take a few minutes to write a perl or
sh script to break apart the linux passwd/shadow file(s) and construct an
appropriate FreeBSD master.passwd file.

g'luck,

Troy



> -----Original Message-----
> From: owner-freebsd-questions@FreeBSD.ORG
> [mailto:owner-freebsd-questions@FreeBSD.ORG]On Behalf Of
> Krassimir Slavchev
> Sent: Monday, February 28, 2000 04:20
> To: freebsd-isp@freebsd.org; freebsd-questions@freebsd.org
> Subject: adduser?
>
>
> Hi,
> 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?
>
> Best Regards
>
> Krassimir Slavchev
>
>
>
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message
>
>



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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