Results 1 to 5 of 5
whenever i try loging on i type in root and then the password and i get this:
Linux 2.4.26
No mail.
-bash: id: command not found
-bash: fortune: command not ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 03-24-2005 #1Just Joined!
- Join Date
- Mar 2005
- Posts
- 98
Can't logon
whenever i try loging on i type in root and then the password and i get this:
Linux 2.4.26
No mail.
-bash: id: command not found
-bash: fortune: command not found
then it just goes back to the login screen.
- 03-24-2005 #2Just Joined!
- Join Date
- Mar 2005
- Location
- Birmingham, UK
- Posts
- 1
oh dear
it appears bash is broken or the disk has corrupted, you'll have to reinstall bash, boot the system off a recovery disk and manually edit your entry in the passwd file for a different shell '/bin/sh' then save and reboot, once you can login try re-installing bash and fsck your drive to make sure its not corrupted.
- 04-29-2005 #3Just Joined!
- Join Date
- Apr 2005
- Posts
- 6
i have the same problem so im going to reinstall slack
- 04-30-2005 #4Just Joined!
- Join Date
- Mar 2005
- Location
- Warsaw, Poland
- Posts
- 1
I have similar problem. I can logon as root but not as a user. I added an account for my self using adduser command and when I try to login I get:
Cannot execute /bin/bash: Permission denied
So I did:
And still I can't logonCode:# chmod 755 /bin/* # ls -l -d /bin drwxr-xr-x 2 root bin 4096 2005-04-14 16:59 /bin/ # ls -l /bin/bash -rwxr-xr-x 1 root bin 666452 2004-11-03 23:30 /bin/bash*
.
Can someone help me ??
- 05-31-2005 #5Just Joined!
- Join Date
- May 2005
- Location
- Near Charlotte, NC
- Posts
- 13
I just recovered from this problem it was because I had changed permissions of /usr/lib & /usr/bin
Originally Posted by iamsam
I restored the permissions of the folders & then reinstalled bash
I used usermod -s /bin/bash "username" to change the shell to csh to see if I could login with the same user / pass.
Hope this helps,
Snide.


Reply With Quote
