Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
* HELP bad shell spec for root in /etc/passwd
@ 1994-07-15 12:14 Terry Longo
  1994-07-15 21:43 ` Kenneth Graves
  1994-07-17  9:12 ` James R. Bull Jr
  0 siblings, 2 replies; 4+ messages in thread
From: Terry Longo @ 1994-07-15 12:14 UTC (permalink / 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



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~1994-07-26 13:28 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1994-07-15 12:14 HELP bad shell spec for root in /etc/passwd Terry Longo
1994-07-15 21:43 ` Kenneth Graves
1994-07-17  9:12 ` James R. Bull Jr
1994-07-26 13:28   ` Mark Jeffery

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