This one time, at band camp, Michelle Konzack said:
> I need to install virtual-users on my courier-imap-server and must
> install the $USER as
> 
>     /home/[EMAIL PROTECTED]
> 
> but if I use:
> 
> ----8<------------------------------------------------------------------
> adduser --home /home/[EMAIL PROTECTED] \
>       --shell /bin/bash \
>       --uid 3186 \
>       --ingroup virtualusers \
>       --force-badname \
>       [EMAIL PROTECTED]
> ----8<------------------------------------------------------------------
> 
> I get this:
> 
> ----8<------------------------------------------------------------------
> adduser: To avoid problems, the username should consist only of
> letters, digits, underscores, periods and dashes, and not start with a
> dash (as defined by IEEE Std 1003.1-2001). For compatibility with Samba
> machine accounts $ is also supported at the end of the username
> ----8<------------------------------------------------------------------

I get this:
[EMAIL PROTECTED]:~$ sudo adduser --home /home/[EMAIL PROTECTED] \
>         --shell /bin/bash \
>         --uid 3186 \
>         --ingroup virtualusers \
>         --force-badname \
>         [EMAIL PROTECTED]
Password:
Allowing use of questionable username.
[ ... ]

Judging by the code at that point, I rather suspect you were trying a
different username than the one you have supplied in this bug report.

Remember as well that adduser is not a general purpose user management
tool - if it were, it wouldn't have any policy checks about the form of
the username.  It exists to move logic of account creation into one
place so that maintainer scripts are easy to write.  The fact that it
also makes sysadmin's lives a little easier is a bonus, but not a design
goal.

Right now, this 'bug' isn't reproducible.  If you can't tell me what you
were actually doing that broke (and why that is a bug in adduser, rather
than your naming scheme), I'm inclined to close this report.
-- 
 -----------------------------------------------------------------
|   ,''`.                                            Stephen Gran |
|  : :' :                                        [EMAIL PROTECTED] |
|  `. `'                        Debian user, admin, and developer |
|    `-                                     http://www.debian.org |
 -----------------------------------------------------------------

Attachment: signature.asc
Description: Digital signature

Reply via email to