Bug#350040: [Pkg-shadow-devel] Bug#350040: Simplify the investigation
for this bug
Tomasz Kłoczko
kloczek at zie.pg.gda.pl
Mon Feb 27 14:47:06 UTC 2006
Dnia 27-02-2006, pon o godzinie 07:43 +0100, Christian Perrier
napisał(a):
> The settings originally described by Jeff in this bug report are not
> mandatory to reproduce the bug.
>
> Simply trying to execute "exec login root" from a non root login shell
> in a VC is enough to get the "No utmp entry. You must exec "login"
> from the lowest level "sh"" message.
>
> "exec login" does not work either....
And it can't work because .. login isn't suid root. Without suid root
you can't do this. Also usualy /etc/pam.d/login uses pam_securetty PAM
module which forces login for root user only from tty's listed
in /etc/securetty. So in case typical PAMified login adding suid root
also can't help.
Use su or sudo for gain root login.
This is not a bug and IMO this case can be closed.
kloczek
More information about the Pkg-shadow-devel
mailing list