🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.unix.sys5.misc
Article #34

Major PROBLEM, HELP HELP

#34
From: tony_wosnjuk
Date: Fri, 11 Dec 1992 20:26
27 lines
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)
--------------------------------------------------------------------------
Technical Details
Message-ID: <Bz43Go.EvI@Novell.COM>
Path: arc1-ca.pugleaf.net!sparky!uunet!spool.mu.edu!sgiblab!newsun!ns.novell.com!usenet

Show Full Headers
Complete Article Headers
Newsgroups: comp.unix.sys5.misc,comp.unix.sys5.r4
Path: arc1-ca.pugleaf.net!sparky!uunet!spool.mu.edu!sgiblab!newsun!ns.novell.com!usenet
From: tony_wosnjuk@novell.com
Subject: Major PROBLEM, HELP HELP
Message-ID: <Bz43Go.EvI@Novell.COM>
Sender: usenet@Novell.COM (Usenet News)
Nntp-Posting-Host: twosnjuk.test.npd.provo.novell.com
Organization: Novell, Inc.
Date: Fri, 11 Dec 1992 20:26:48 GMT
Lines: 27