Click to See Complete Forum and Search --> : Login for root is disabled!


edwardtanguay
11-15-2000, 08:04 PM
After using Suse Linux 7.0 for days, I tried to log in and suddenly got the message "Xsession: Login for root is disabled" (!) I can log in as users, but it seems that my computer will not let me log into Linux as root anymore. Any suggestions? Otherwise I guess I need to reinstall Linux?

------------------
FREE Newsletter for Web Developers:
http://www.net-language.com/webdeveloper

kitcampbell
11-15-2000, 08:09 PM
Can you use the 'su' command to change to root from your Shell?

Kit

edwardtanguay
11-15-2000, 08:17 PM
as 'edward' I can type in 'su', it asks for the password for root, I type it in and it says: cannot run tsch: file or folder not found

right before root got locked out I had typed in 'chsh' in an attempt to change the root shell

any ideas how I can log in as root again?

Originally posted by kitcampbell:
Can you use the 'su' command to change to root from your Shell?

Kit



------------------
FREE Newsletter for Web Developers:
http://www.net-language.com/webdeveloper

shortfella
11-15-2000, 09:16 PM
It looks like you haven't got that shell tsch installed. Have you uninstalled it?

From memory (I'm on a win box at the moment)
Look in /etc/passwd for the root line.
There will be a parameter for the shell to use such as /sbin/bash.

I don't think you will be able to change this without root access so just make sure you have the shell installed.

dieselboy
11-15-2000, 10:12 PM
what is tsch? dont you mean tcsh.. your problem is that you tried to edit your root shell and you incorrectly typed the default shell.. or someone else did.., you have few options here.. what you need to do is boot linux from the cd into single user mode and then mount your hard drive as root.. edit /etc/passwd file .. this is where your root shell is specified.. reboot

lates

diesel