[Pkg-shadow-devel] Login incorrect

Nicolas François nicolas.francois at centraliens.net
Wed Jul 13 21:01:51 UTC 2011


Hello,

On Mon, Jul 11, 2011 at 04:17:18AM +0200, yugiohjcj-mailinglist at laposte.net wrote:
> 
> I do this :
> ---
> $ ./create_root_login.sh
> $ sudo chroot create_root_login
> bash-4.0# bin/login 
> 
> samson login: root
> Password: 
> Login incorrect
> ---
> 
> So I can't begin session on the minimal system using /bin/login.
> 
> Do you see why I got this problem?

>From the messages above, this could be:
 * The console check (the non PAM version only allows root login on a
   console).
 * The login.access check (this should not be the case if there are no
   /etc/login.access files)
 * The faillog check (this should not be the case if there are no
   /var/log/faillog files)

So my bet is that you should fix the CONSOLE setting in login.defs

I would recommend to check the system logs 
(/var/log/auth.log / /var/log/syslog). Running login with strace might 
also help.

Best Regards,
-- 
Nekral



More information about the Pkg-shadow-devel mailing list