Re: [lfs-support] Unable to login
On Oct 3, 2013, at 3:24 PM, hans kaper wrote: > I added a line and an error occurred. So login.defs was read. Now find the line that is causing the invalid argument chroot and run login and see what happens. Also, install strace and run login and see what happens. Sincerely, William Harrington -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
Re: [lfs-support] Unable to login
Op Thu, 03 Oct 2013 22:20:51 +0200 schreef Bruce Dubbs : > hans kaper wrote: >> Op Thu, 03 Oct 2013 22:05:25 +0200 schreef Bruce Dubbs >> : >> >>> hans kaper wrote: I build LFS 7.4 from the book. It boots all-right but I cannot login: login: root password: xx 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. -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
Re: [lfs-support] Unable to login
Op Thu, 03 Oct 2013 22:13:02 +0200 schreef William Harrington : > > On Oct 3, 2013, at 3:01 PM, hans kaper wrote: > >> login: root >> password: xx >> crypt: Invalid argument > > Not using pam? LFS book 7.4, page 124:... "They also require Linux-PAM which is not available in LFS." > > Also, double check your login.defs in /etc I added a line and an error occurred. So login.defs was read. -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
Re: [lfs-support] Unable to login
hans kaper wrote: > Op Thu, 03 Oct 2013 22:05:25 +0200 schreef Bruce Dubbs > : > >> hans kaper wrote: >>> I build LFS 7.4 from the book. It boots all-right but I cannot login: >>> >>> login: root >>> password: xx >>> 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. To get in, you can edit /etc/passwd so root's entry is: root::0:0:root:/root:/bin/bash Notice that the 2nd entry is null. That should get you in without a password. Then run passwd again and set your pw to whatever you want. Also, When setting the password in chroot, the /dev and /dev/pts virtual file systems must be available. -- Bruce -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
Re: [lfs-support] Unable to login
On Oct 3, 2013, at 3:01 PM, hans kaper wrote: > login: root > password: xx > crypt: Invalid argument Not using pam? Also, double check your login.defs in /etc Sincerely, WIlliam Harrington -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
Re: [lfs-support] Unable to login
Op Thu, 03 Oct 2013 22:05:25 +0200 schreef Bruce Dubbs : > hans kaper wrote: >> I build LFS 7.4 from the book. It boots all-right but I cannot login: >> >> login: root >> password: xx >> 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? > >-- Bruce > Of course. -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
Re: [lfs-support] Unable to login
hans kaper wrote: > I build LFS 7.4 from the book. It boots all-right but I cannot login: > > login: root > password: xx > 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? -- Bruce -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
[lfs-support] Unable to login
I build LFS 7.4 from the book. It boots all-right but I cannot login: login: root password: xx 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? Hans. -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page