Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 Nov 2002 12:14:47 +0530
From:      "Unix Tools" <unixtools@hotmail.com>
To:        "KevinG" <whackstr@pacbell.net>, <freebsd-questions@freebsd.org>
Subject:   Re: Adding users in FreeBSD 4.7
Message-ID:  <OE4602H67yRLVbNDN4C000007da@hotmail.com>
References:  <3912360718.20021124101401@pacbell.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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" <whackstr@pacbell.net>
To: <freebsd-questions@freebsd.org>
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:whackstr@pacbell.net
> 
> 
> 
> 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?OE4602H67yRLVbNDN4C000007da>