Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: kag@cambridge.village.com (Kenneth Graves)
Subject: Re: HELP bad shell spec for root in /etc/passwd
Date: 15 Jul 1994 17:43:24 -0400	[thread overview]
Message-ID: <306vts$dtb@cambridge.village.com> (raw)
In-Reply-To: CszDzG.10z@world.std.com

The following is valid for the 2000/300.  I think it holds for the
bigger boys too.

Press the halt button to get the console prompt (>>>).

>>>set boot_osflags s
>>>b

This will boot you in single-user mode, which won't be DECWindows
unless you've done really strange things to the init files.

You'll might need to do a
mount -w /
to make the root filesystem read-write.

Use ed to fix the passwd file.

Shutdown -h, change the boot_osflags back to "a", and boot again.
Everything should be fine.

(Is anyone maintaining an FAQ for this group?  This seems a natural
for it.)

--kag
-- 
Kenneth A Graves	(kag@village.com)	Village of Cambridge sysadmin


  reply	other threads:[~1994-07-15 21:43 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1994-07-15 12:14 HELP bad shell spec for root in /etc/passwd Terry Longo
1994-07-15 21:43 ` Kenneth Graves [this message]
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