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

Martin Quinson martin.quinson@loria.fr
Wed, 11 May 2005 21:32:19 +0200


--3V7upXqbjpZ4EhLz
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Tue, May 10, 2005 at 12:05:28AM +0300, Alexander Gattin wrote:
> tags 293492 confirmed
> retitle 293492 [ALEXANDER] useradd: by default creates user with unspecif=
ied shell, this causes problems
> thanks

[...]

> The reason is empty initial value for def_shell _and_
> absense of "SHELL=3Dblahblahblah" line in the
> /etc/default/useradd file. This file simply does not
> exist on typical Debian system.

[...]

> Maybe we should just distribute a reasonable
> /etc/default/useradd [config] file with passwd?

Why couldn't we just set a non-empty initial value to def_shell? It's easy
to do, and less intrusive that adding yet another file in /etc.=20

Bye, Mt.

--3V7upXqbjpZ4EhLz
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)

iD8DBQFCgl3DIiC/MeFF8zQRAtd1AJ4zEmAQVkPiTpSKNEQWLhxP1ExlCACgx4ME
mGWT1NZKV1GsrNt/cbHi790=
=36f/
-----END PGP SIGNATURE-----

--3V7upXqbjpZ4EhLz--