Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: terryl@world.std.com (Terry Longo)
Subject: HELP bad shell spec for root in /etc/passwd
Date: Fri, 15 Jul 1994 12:14:04 GMT	[thread overview]
Message-ID: <CszDzG.10z@world.std.com> (raw)

If someone could help me out of this jam, I would *greatly*
appreciate it.

I changed root's default shell to be /bin/ksh before realizing
that in this version of Ultrix on a DEC 3000 workstation, the
Korn shell is located at /usr/bin/ksh.  The system by default
brings up DECWindows.

Now, when I log in through the DECWindows promptas root,
DECWindows tels me "bad shell - will use /bin/sh".  I acknowledge
that, and I get logged in, but with no window manager!  All I
get is the application/customization menu and a console log
window.  If I select an application such as DECterm, nothing
happens.  All I can do is log out.

I then logged in as a normal user and tried the following:
su root, rlogin/telnet/rsh as root, etc.  I get one of two
messages (depending on what I am trying):  "bad shell" (since
the /etc/passwd entry is bad), or "not secure terminal".

Needless to say, I cannot perform certain necessary administrative
activities.  As a regular user I do not have permissions to /bin
or /usr/bin, so I can't copy /usr/bin/ksh to /bin/ksh to make
the /etc/passwd entry valid.

Is there a way around this?  Can I tell the system somehow while
it's booting NOT to bring up DECWindows but to bring up a single
terminal-style login?  Is there a trick here I am missing?

- Terry



             reply	other threads:[~1994-07-15 12:14 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1994-07-15 12:14 Terry Longo [this message]
1994-07-15 21:43 ` HELP bad shell spec for root in /etc/passwd Kenneth Graves
1994-07-17  9:12 ` James R. Bull Jr
1994-07-26 13:28   ` Mark Jeffery
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox