From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,5d08d775c39be5f5,start X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 1994-07-15 05:18:12 PST Newsgroups: comp.sys.dec Path: bga.com!news.sprintlink.net!hookup!news.kei.com!world!terryl From: terryl@world.std.com (Terry Longo) Subject: HELP bad shell spec for root in /etc/passwd Message-ID: Organization: Terry J. Longo Distribution: ne Date: Fri, 15 Jul 1994 12:14:04 GMT 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