Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Apr 2001 09:09:20 -0500
From:      Andrew Hesford <ajh3@chmod.ath.cx>
To:        Odhiambo Washington <wash@wananchi.com>
Cc:        FBSD-Q <freebsd-questions@freebsd.org>
Subject:   Re: usernames with dots wash.test
Message-ID:  <20010430090920.A9847@cec.wustl.edu>
In-Reply-To: <20010430141231.C74981@everest.wananchi.com>; from wash@wananchi.com on Mon, Apr 30, 2001 at 02:12:31PM %2B0300
References:  <20010430102242.B32935@everest.wananchi.com> <20010430122845.A1456@goku.kasby> <20010430141231.C74981@everest.wananchi.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Apr 30, 2001 at 02:12:31PM +0300, Odhiambo Washington wrote:
> Hi Francesco,
> 
> Please stop this crazy idea ;-)
> just try 
> 
> adduser fran.casadei
> 
> Like the way I tried.....
> 
> everest# adduser
> Use option ``-verbose'' if you want to see more warnings and questions
> or try to repair bugs.
> Enter username [a-z0-9_-]: wash.raburu
> Wrong username. Please use only lowercase characters or digits
> Enter username [a-z0-9_-]:
> 
> 2nd test::
> 
> everest# pw useradd wash.raburu -d /home/wash.raburu
> 
> everest# exim -bt wash.raburu
> wash.raburu@wananchi.com cannot be resolved at this time:
>   failed to stat /home/wash.raburu (No such file or directory)
> 
> everest# finger wash.raburu
> Login: wash.raburu                      Name: User Wash.raburu
> Directory: /home/wash.raburu            Shell: /bin/sh
> Never logged in.
> No Mail.
> No Plan.
> 
> everest# pw usershow wash.raburu
> wash.raburu:*:3850:3850::0:0:User &:/home/wash.raburu:/bin/sh
> 
> Of course I still don't have a /etc/pw.conf but I don't see how that will
> help me with dotted usernames.
> 
> Please lemme know if you manage to find more info on this, maybe some
> hack....
> 
> 
> -Wash

adduser is a piece of shit. Just because it doesn't support dotted
usernames, doesn't mean FreeBSD doesn't support dotted usernames. You
just might have to create the user by hand. I created a user on my
machine called ajh3.test, made a home directory, gave it a password and
was able to log in without trouble. If you can't make use of useradd,
use pw. If you can't use pw, use vipw. You either need to appeal to
somebody to fix adduser, or learn to do things the hard way.

As you saw from finger, the user was created just fine. However, you
didn't have a home directory for it. That's why exim got mad at you.
Create the directory /home/wash.raburu and exim will work just fine.

NOTE: what good is a dotted username, anyway? If you want dotted email,
you should do that with aliases. A dotted username is awkward to type.
Still, if you insist, it can be done; you just have to figure out what
you're doing.

-- 
Andrew Hesford
ajh3@chmod.ath.cx

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?20010430090920.A9847>