Michelle Konzack
2007-Dec-05 14:24 UTC
Bug#454744: adduser refuse to create user even with --force-badname
Package: adduser Version: 3.97 Severity: normal I need to install virtual-users on my courier-imap-server and must install the $USER as /home/${LOGIN}@${FQDN} but if I use: ----8<------------------------------------------------------------------ adduser --home /home/root@michelle1.private.tamay-dogan.net \ --shell /bin/bash \ --uid 3186 \ --ingroup virtualusers \ --force-badname \ root@michelle1.private.tamay-dogan.net ----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<------------------------------------------------------------------ So how to create local hosted virtualusers? Under Sarge it was working... and under Etch I need to edit /etc/passwd /etc/shadow, /etc/group and /etc/gshadow by hand... It seems, that "--force-badname" does not work. It is not realy funny, since I have already 186 such virtualusers Thanks, Greetings and nice Day Michelle Konzack Tamay Dogan Network Open Hardware Developer Debian GNU/Linux Consultant -- Linux-User #280138 with the Linux Counter, http://counter.li.org/ ##################### Debian GNU/Linux Consultant ##################### Michelle Konzack Apt. 917 ICQ #328449886 50, rue de Soultz MSN LinuxMichi 0033/6/61925193 67100 Strasbourg/France IRC #Debian (irc.icq.com) _______________________________________________ Adduser-devel mailing list Adduser-devel@lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/adduser-devel
Stephen Gran
2007-Dec-07 14:55 UTC
[Adduser-devel] Bug#454744: Bug#454744: adduser refuse to create user even with --force-badname
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/${LOGIN}@${FQDN} > > but if I use: > > ----8<------------------------------------------------------------------ > adduser --home /home/root at michelle1.private.tamay-dogan.net \ > --shell /bin/bash \ > --uid 3186 \ > --ingroup virtualusers \ > --force-badname \ > root at michelle1.private.tamay-dogan.net > ----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: steve at charon:~$ sudo adduser --home /home/root at michelle1.private.tamay-dogan.net \> --shell /bin/bash \ > --uid 3186 \ > --ingroup virtualusers \ > --force-badname \ > root at michelle1.private.tamay-dogan.netPassword: 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 | | : :'' : sgran at debian.org | | `. `'' Debian user, admin, and developer | | `- http://www.debian.org | ----------------------------------------------------------------- -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: Digital signature Url : http://lists.alioth.debian.org/pipermail/adduser-devel/attachments/20071207/5675551b/attachment.pgp
Stephen Gran
2007-Dec-07 15:02 UTC
[Adduser-devel] Bug#454744: Bug#454744: adduser refuse to create user even with --force-badname
close 454744 3.99 thanks This one time, at band camp, Michelle Konzack said:> Package: adduser > Version: 3.97I''ve just noticed your version number. That''s not an etch version. This bug was, according to the changelog, fixed in 3.99, and etch shipped with 3.102. Please upgrade. I''m closing this bug now. -- ----------------------------------------------------------------- | ,''''`. Stephen Gran | | : :'' : sgran at debian.org | | `. `'' Debian user, admin, and developer | | `- http://www.debian.org | ----------------------------------------------------------------- -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: Digital signature Url : http://lists.alioth.debian.org/pipermail/adduser-devel/attachments/20071207/0fa0f1be/attachment.pgp
Debian Bug Tracking System
2007-Dec-07 15:03 UTC
[Adduser-devel] Processed: Re: Bug#454744: adduser refuse to create user even with --force-badname
Processing commands for control at bugs.debian.org:> close 454744 3.99Bug#454744: adduser refuse to create user even with --force-badname ''close'' is deprecated; see http://www.debian.org/Bugs/Developer#closing. Bug marked as fixed in version 3.99, send any further explanations to Michelle Konzack <linux4michelle at freenet.de>> thanksStopping processing here. Please contact me if you need assistance. Debian bug tracking system administrator (administrator, Debian Bugs database)