Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Apr 2001 09:35:54 -0700 (PDT)
From:      Dan Busarow <dan@dpcsys.com>
To:        Odhiambo Washington <wash@wananchi.com>
Cc:        FBSD-Q <freebsd-questions@FreeBSD.ORG>
Subject:   Re: usernames with dots wash.test
Message-ID:  <Pine.BSF.4.21.0104300932070.6884-100000@java2.dpcsys.com>
In-Reply-To: <20010430141231.C74981@everest.wananchi.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Apr 30, Odhiambo Washington wrote:
>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_-]:

adduser is a perl script.  Change it's validation to allow dots.

>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)

-d tells pw what home directory to enter in /etc/passwd
Use -m if you want the home directory created.  pw useradd
seems to have pretty much the same options as SYSV useradd

Dan
-- 
 Dan Busarow                                                  949 443 4172
 Dana Point Communications, Inc.                            dan@dpcsys.com
 Dana Point, California  83 09 EF 59 E0 11 89 B4   8D 09 DB FD E1 DD 0C 82


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?Pine.BSF.4.21.0104300932070.6884-100000>