LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices


Reply
  Search this Thread
Old 04-22-2004, 06:32 AM   #1
alexastro
LQ Newbie
 
Registered: Apr 2004
Posts: 2

Rep: Reputation: 0
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
 
Old 04-22-2004, 08:28 AM   #2
blueser
Member
 
Registered: Oct 2003
Location: Rio de Janeiro, Brazil
Distribution: Fedora Core 5
Posts: 76

Rep: Reputation: 15
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
 
Old 04-22-2004, 08:36 AM   #3
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,304

Rep: Reputation: 65
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
unable to login as user; can login as root. rksanders Debian 24 02-09-2011 08:01 AM
wrong login shell prevent root login cefs99 Linux - Security 4 05-31-2006 08:28 AM
I have re-installed MK 9.2 but cannot login as user, login as root works. bobinglis Mandriva 2 02-22-2004 11:39 AM
can only login as root? user login doesnt work..? anyone? hacking_4_b33r Linux - General 1 02-05-2004 11:40 PM
root login incorrect ,then passwd root,but error sunnycn Linux - Security 6 05-20-2002 10:54 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 05:03 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration