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

Michael Banck mbanck at debian.org
Sun Oct 9 01:17:07 UTC 2005


On Sun, Oct 09, 2005 at 02:27:27AM +0300, Alexander Gattin wrote:
> Looks like the bug is still there, because as it
> appears many utils from passwd can't work without
> login.defs, because all calls to e.g. getdef_num() will
> result in premature termination if there's no
> /etc/login.defs:

Right.

> This means that e.g. useradd will fail because of
> > uid_min = getdef_unum ("UID_MIN", 1000);
> and the same with all other utils. What's more boring
> is that a util will fail almost quietly because error is
> logged through syslog (to auth.log on my system) and
> there's nothing on stderr.

Yeah, I was pretty confused by that and only figured out what was going
wrong when stepping through the code with gdb.

> I think we should place login.defs in shadow-common.

I tried to just touch /etc/login.defs, which made shadowconfig happy,
but adduser still failed for some reason I do not remember now, there
seems to be more involved.


Michael

-- 
Michael Banck
Debian Developer
mbanck at debian.org
http://www.advogato.org/person/mbanck/diary.html




More information about the Pkg-shadow-devel mailing list