Thread View: comp.unix.sys5.misc
1 messages
1 total messages
Started by tony_wosnjuk
Fri, 11 Dec 1992 20:26
Major PROBLEM, HELP HELP
Author: tony_wosnjuk
Date: Fri, 11 Dec 1992 20:26
Date: Fri, 11 Dec 1992 20:26
27 lines
1380 bytes
1380 bytes
Well, I did this time.
I was trying to change the root's shell by going to the /etc/passwd file.
I saw the "sh" and put in "ksh" but DID NOT check for the path.
The passwd file now has the entry /sbin/ksh BUT there is no ksh at /sbin.
I can't su to root because the message "no shell" comes up everytime.
I can't copy a ksh to /sbin because I have no rights to do it.
man pages for su said that if there is no entry for shell the default is
/usr/bin/sh, but I have an invalid entry.
Please, o please. What can I do for this situation?
A careless /etc/passwd editor.
Thanks. E-mail if you can, so I don't have check NEWS all the time.
--
--------------------------------------------------------------------------
Tony Wosnjuk (Vos - Nilk)
Novell Inc. 122 East 1700 South Mail Stop D-13-2
Provo, Utah 84601 (801) 429-3458 (NeXT mail Welcome)
--------------------------------------------------------------------------
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads