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

Alexander Gattin xrgtn at yandex.ru
Sat Sep 17 13:52:31 UTC 2005


Hi!

On Sat, Sep 17, 2005 at 08:07:23AM +0200, Christian Perrier wrote:
> I see the following rationale here:
> 
> adduser is the recommended way to add regular users on Debian
> systems. As bash is the default shell on Debian, it seems logical to
> me that adduser proposes it as the defalt shell for users.
> 
> useradd is, as we often said, a lower level utility, so on Debian is
> is aimed to be used as a very generic way to add users. Being generic,
> it should rather default to a generic shell.
> 
> 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

Completely agreed -- these are indeed different
settings, but their presence in configs with similar
named values may mislead system administrators. That's
why I dislike it.

But there are other settings which differ only in
being considered low/high level, like USERS_GID=100

-- 
WBR,
xrgtn




More information about the Pkg-shadow-devel mailing list