[lfs-support] Unable to login

hans kaper spakyelj at xs4all.nl
Thu Oct 3 13:33:43 PDT 2013


Op Thu, 03 Oct 2013 22:20:51 +0200 schreef Bruce Dubbs <bruce.dubbs at gmail.com>:

> hans kaper wrote:
>> Op Thu, 03 Oct 2013 22:05:25 +0200 schreef Bruce Dubbs <bruce.dubbs at gmail.com>:
>>
>>> hans kaper wrote:
>>>> I build LFS 7.4 from the book. It boots all-right but I cannot login:
>>>>
>>>> login: root
>>>> password: xxxxxx
>>>> crypt: Invalid argument
>>>>
>>>> Trying another user fails too.
>>>>
>>>> I double checked inittab and the shadow-build, but found no faults.
>>>> The same goes for the kernel-config file.
>>>>
>>>> What can be the reason of the failing login?
>>>
>>> Did you set the password for root?
>
>> Of course.
>
> Then you probably have the wrong password or didn't install shadow properly.

I checked the shadow-build , but did not find any errors.
>
> To get in, you can edit /etc/passwd so root's entry is:
>
> root::0:0:root:/root:/bin/bash

That did not work either; same error.
I don't expect a keyboard-problem: all the letters appear as typed.


Hans.



More information about the lfs-support mailing list