From owner-freebsd-questions Mon Feb 28 3:38: 1 2000 Delivered-To: freebsd-questions@freebsd.org Received: from cliff.i-plus.net (cliff.i-plus.net [209.100.20.42]) by hub.freebsd.org (Postfix) with ESMTP id CA05D37B7E4 for ; Mon, 28 Feb 2000 03:37:57 -0800 (PST) (envelope-from troy@picus.com) Received: from abyss (abyss.dashit.net [209.100.22.250]) by cliff.i-plus.net (8.9.3/8.9.3) with SMTP id GAA50004; Mon, 28 Feb 2000 06:37:37 -0500 (EST) From: "Troy Settle" To: "Krassimir Slavchev" , Subject: RE: adduser? Date: Mon, 28 Feb 2000 06:31:57 -0500 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="koi8-r" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 In-Reply-To: <38BA3DAA.363A8818@bulinfo.net> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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