Bug#249372: [Pkg-shadow-devel] Bug#249372: "Please enable login for GNU/Hurd": Can someone summarize this bug report?

Alexander Gattin xrgtn at yandex.ru
Sun Oct 9 22:20:03 UTC 2005


retitle 249372 enable passwd for GNU/Hurd
thanks

Hi!

On Sun, Oct 09, 2005 at 07:47:21PM +0200, Christian Perrier wrote:
> > This means that e.g. useradd will fail because of
> > > uid_min = getdef_unum ("UID_MIN", 1000);
> > and the same with all other utils.
...
> > I think we should place login.defs in shadow-common.
> ....which would exist just for providing login.defs? I'm definitely
> not fond of this, actually.

BTW, I see no problem with this. It's quite logical step.

> Better fix the code so that passwd utilities do NOT require login.defs
> and use sane defaults.

Please, just run `dpkg -L passwd | grep bin/ | nl` and
compare vs. `dpkg -L login | grep bin/ | nl`.

Also, remember issue with MAIL_DIR...

Therefore I think that if/when it will be finally
decided to keep shipping shadow in 2 pieces, then
/etc/login.defs will have to be shipped in "passwd" pkg
instead, because /bin/su, /bin/login and 4 (soon 3)
other "login" utils are more easy to patch in order to
stop requiring login.defs than 27 utils from passwd.

But let's wait for Nicolas to summarise login.defs
usage.

As another alternative (if you want to leave everything
untouched for linux), I propose to pack login.defs into
"passwd" for HURD (and make HURD's "login" to depend on
"passwd", but this is insignificant because shadow's
"login" won't work on HURD in nearest future anyway and
thus is completely useless for this platform).

-- 
WBR,
xrgtn




More information about the Pkg-shadow-devel mailing list