LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux From Scratch (https://www.linuxquestions.org/questions/linux-from-scratch-13/)
-   -   cannot login root (https://www.linuxquestions.org/questions/linux-from-scratch-13/cannot-login-root-173254/)

alexastro 04-22-2004 06:32 AM

cannot login root
 
Hi,


I have just installed LFS.
When i try to login as root I have an error :

Cannot execute /bin/bash : No such File or Directory.

Please help me :(


Thanks


Alex

blueser 04-22-2004 08:28 AM

That's very odd -- bash is used in all system maintenance scripts, so it's very weird installation process allowed you to skip its installation. This suggest you might have screwed up something.

I have never used LFS, so I cannot help much here. If you can install specific packages from installation cds, you could try to install bash... anyway, you might get more useful help from LFS mailing lists and forums (check LFS manpage).

HTH

Andre

whansard 04-22-2004 08:36 AM

check your /etc/passwd file to see what root's password is if you can. i guess not now.
make a symlink to whatever shell you can use to /bin/bash like
ln -s /bin/bash2 /bin/bash
or
ln -s /bin/csh /bin/bash

then you can change what you need.


All times are GMT -5. The time now is 08:30 PM.