From: Tony Verhulst <verhulst@zk3.dec.com>
Subject: Re: ARRGH!! Lost root password!
Date: Wed, 31 Jan 2001 16:25:11 -0500 [thread overview]
Message-ID: <3A7882B7.82F1879@zk3.dec.com> (raw)
In-Reply-To: 3A787FB3.7DCB4CCD@zk3.dec.com
> *** Performing CDROM Installation
> ^C <<<< HIT CONTRL C
> # fsck /dev/rdisk/dsk0a
> /sbin/ufs_fsck /dev/rdisk/dsk0a
> ** /dev/rdisk/dsk0a
> ** Last Mounted on /
> ** Phase 1 - Check Blocks and Sizes
> ** Phase 2 - Check Pathnames# mount /dev/disk/dsk0a /mnt
> ** Phase 3 - Check Connectivity
> ** Phase 4 - Check Reference Counts
> ** Phase 5 - Check Cyl groups
> #mount /dev/disk/dsk0a /mnt
> and.... you're there.
OK, I may be assuming too much here. What I do after mounting the disk
is to edit the passwd file (/mnt/etc/passwd) and remove the password.
Change:
root:D8G/URRnIabNk:0:1:system PRIVILEGED account:/:/bin/sh
to:
root::0:1:system PRIVILEGED account:/:/bin/sh
You can then reboot the disk and login as root and no password will be
required. DO make the effort of adding a root password ASAP via the
passwd(1) command.
Tony
next prev parent reply other threads:[~2001-01-31 21:25 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-01-31 19:42 ARRGH!! Lost root password! Tom Metzger
2001-01-31 21:12 ` Tony Verhulst
2001-01-31 21:25 ` Tony Verhulst [this message]
2001-01-31 23:31 ` Malcolm Dunnett
2001-02-01 1:39 ` Stuart R. Fuller
2001-02-01 14:35 ` Tony Verhulst
2001-02-01 15:08 ` Tom Metzger
2001-02-01 15:44 ` Joerg-Uwe Tessmer
2001-02-01 16:44 ` ARRGH!! (Summary) Tom Metzger
2001-02-18 14:58 ` ARRGH!! Lost root password! Kari Uusimäki
2001-02-19 14:58 ` Tony Verhulst
2001-02-19 15:58 ` Marble Head
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