Skip to Main Content

Infrastructure Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

root has no shell

807559Oct 9 2001 — edited Nov 17 2006
I changed the shell of my root user directory to
from /sbin/sh to /sbin/ksh

however, this machine does not have the binary
for ksh in that directory position but in
/bin/ksh

Now every time i want to loggin as a root user, it denies me access with an error;
su: No shell

Now i can not log into my machine with a root password since it can not find the shell.

I have acces as other normal user of the machine and also have the root password.

this is what i tryed>

su - root -c /bin/ksh

but it still does not read a shell.

Any suggestion to fix this problems will be very much appreciated.

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 15 2006
Added on Oct 9 2001
8 comments
262 views