Bug#293492: [Pkg-shadow-devel] Bug#293492: useradd: by default creates user with unspecified shell, this causes problems

Daniel Kabs daniel.kabs at mobotix.com
Tue Sep 20 09:46:32 UTC 2005


> > Me too! :-) I guess, this should either read
> >
> > DSHELL in /etc/adduser.conf
> >
> > or
> >
> > SHELL in /etc/default/useradd
>
> For sure, having both use the same variable name is certainly
> confusing.
>
> As a consequence this means you suggest using SHELL rather than DSHELL
> in useradd.

Sorry, your last comment is confusing me. As I understand, currently

*useradd* is configured in etc/default/useradd using the SHELL parameter,

*adduser* is configured in /etc/adduser.conf and uses DSHELL as parameter.

Christian, my comment quoted above was targeted at your comment:
|Anyway, if ones feels there is a bug, it rather pertains to
|adduser. I'm deeply against using DSHELL=/bin/bash in
|/etc/default/useradd
because currently there is no DSHELL parameter in /etc/default/useradd, isn't 
it? I thought, you confused something. Or maybe I misconstrued something?

To summarize, I'd vote for your suggestion to
supply /etc/default/useradd with:

SHELL=/bin/sh




More information about the Pkg-shadow-devel mailing list