[Pkg-shadow-devel] Bug#709884: Bug#709884: /bin/login: Cannot login as or su to root on /dev/tty1.

Jeroen N. Witmond [Bahco] jnw at xs4all.nl
Mon May 27 18:25:49 UTC 2013


There are no stupid questions! :-)

The password for root contains numbers, I thought I had also tried the use
the numbers in the top row of the keyboard, but apparently not.

It appears that the numpad does not work for tty. When I use the top row
for the numbers I can login as root.

Thanks for the hint!

Christian PERRIER wrote:
> Quoting Jeroen N. Witmond (jnw at xs4all.nl):
>> Package: login
>> Version: 1:4.1.4.2+svn3283-2+squeeze1
>> Severity: important
>> File: /bin/login
>>
>> To update from squeeze to wheezy I need to login as root without using
>> X, gdm, etc.  So I use Ctrl+Alt+F1 to go to tty1.
>>
>> However, attempts to login as root result in "Login incorrect" with
>> the following lines in /var/log/auth.log:
>>
>> May 26 14:07:38 BlackBox login[3792]: pam_unix(login:auth):
>> authentication failure; logname=LOGIN uid=0 euid=0 tty=/dev/tty1
>> ruser= rhost= user=root
>> May 26 14:07:41 BlackBox login[3792]: FAILED LOGIN (1) on '/dev/tty1'
>> FOR 'root', Authentication failure
>>
>> Login in as a normal user followed by `su -` results in "su:
>> Authentication failure" with the following lines in /var/log/auth.log:
>>
>> May 26 14:10:34 BlackBox su[3846]: pam_unix(su:auth): authentication
>> failure; logname=jeroen uid=1000 euid=0 tty=/dev/tty1 ruser=jeroen
>> rhost=  user=root
>> May 26 14:10:36 BlackBox su[3846]: pam_authenticate: Authentication
>> failure
>> May 26 14:10:36 BlackBox su[3846]: FAILED su for root by jeroen
>> May 26 14:10:36 BlackBox su[3846]: - /dev/tty1 jeroen:root
>>
>> When I run a terminal window under X I can su to root.
>
>
> Stupid question, but are you sure that the keyboard mapping is correct
> in tty1?
>
>



More information about the Pkg-shadow-devel mailing list