In my production server which is running SUse 11 SP1, the root shell is set to /bin/eksh. Not sure how come it is set to this..we are using /bin/bash as root's default shell.
I tried to reset it like the following:-
su -s /bin/bash su : using restricted shell /bin/eksh su : /bin/eksh : no such file or directory
Only option which i think right now is to get in single user mode and edit the /etc/passwd manually..
I am not physically present at the site so right now i am quite helpless.
Update
I also tried further in order to reset it without any success.
su -s, which unfortunately didn't work. I am not sure why, considering the fact that /bin/eksh is not listed in /etc/shell. 2. I can't use sudo because sudo setuid bit is not set
Update II
I got a way to login to the system through ILOM. But i am stuck at the following point. Nothing is coming on the screen after this point. But i can get back to SP login prompt (->) by pressing ESC (.
-> start /SP/console Are you sure you want to start /SP/console (y/n)? y Console started...press ESC ( to exit. ...............................