Hi,
In /etc/adduser.conf
The line usernameregexp should look like
usernameregexp = '^[a-z0-9_][a-z0-9_-]*$'

If not replace it with the above line and then add a user.
on running the adduser script it will first ask for 
Usernames must match regular expression:
[^[a-z0-9_][a-z0-9_-]*$]:

JUST HIT ENTER ON THE PROMPT.

Cheers



----- Original Message ----- 
From: "KevinG" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, November 24, 2002 11:44 PM
Subject: Adding users in FreeBSD 4.7


> Hello,
> 
> I installed 4.7 on a new box and when I try to add users (by
>   running adduser) I smack into a roadblock;
>   the system asks that I enter the username, which I do,
>   and it continues to insist that I enter the username again, over and
>   over...
>   It seems the "regular expressions" feature is balling me up and I am
>   unsure how this fits into the scheme.
>   Man adduser and pw haven't helped me much.
> 
> -- 
> Best regards,
>  KevinG                          mailto:[EMAIL PROTECTED]
> 
> 
> 
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-questions" in the body of the message
> 

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message

Reply via email to