* ARRGH!! Lost root password!
@ 2001-01-31 19:42 Tom Metzger
2001-01-31 21:12 ` Tony Verhulst
0 siblings, 1 reply; 12+ messages in thread
From: Tom Metzger @ 2001-01-31 19:42 UTC (permalink / raw)
Help! I've got a Digital Personal Workstation 433au with
Tru64 5.0 on it. When I upgraded from 4.0F to 5.0 I
*thought* it would be a good idea to install the "Enhanced"
Security options...until I saw what a pain in the ass it
is (can't use the old passwords for X amount of time,
passwords have to be at least 9 characters, etc). Yes,
I know this is a Good Idea (tm) but there are only two of
us who use this server so it's more of a nuisance than
anything.
So anyway, today I got sick of it and went into the
Security GUI and went through the steps to return to
BASIC Security. It asked me to set a new root password,
which I did, then told me I would have to reboot in
order for the changes to take effect (shades of
Microsoft ? ). When I rebooted, I could no longer get
in as root with either my new password, my old password
or any VARIATION thereof.
With Solaris I would boot from CD, mount /etc and edit
the password file to get it to something I wanted. Is
this the case with Tru64 as well? And if so, how do I
get the boot-up process to stop so I can tell it to boot
from the CD instead of the disk? With Sun workstations,
I would do a STOP-A, but I haven't found the key
combination to get the boot-up to abort for this.
HELP!!!
Replies to either the newsgroup or to my return address
above would be welcome. Thanks.
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: ARRGH!! Lost root password!
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
` (2 more replies)
0 siblings, 3 replies; 12+ messages in thread
From: Tony Verhulst @ 2001-01-31 21:12 UTC (permalink / raw)
Tom Metzger wrote:
> With Solaris I would boot from CD, mount /etc and edit
> the password file to get it to something I wanted. Is
> this the case with Tru64 as well? And if so, how do I
> get the boot-up process to stop so I can tell it to boot
> from the CD instead of the disk? With Sun workstations,
> I would do a STOP-A, but I haven't found the key
> combination to get the boot-up to abort for this.
\x18
Here's what I do - I trash systems a lot! :-)..... there may be an
"official" way.
Boot the distribution CD:
##############################################################################
##
## Saving system hardware configuration from dsk0 . . . Done.
##
##############################################################################
*** Performing CDROM Installation
^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.
Tony V.
^ permalink raw reply [flat|nested] 12+ messages in thread* Re: ARRGH!! Lost root password!
2001-01-31 21:12 ` Tony Verhulst
@ 2001-01-31 21:25 ` Tony Verhulst
2001-01-31 23:31 ` Malcolm Dunnett
2001-02-01 1:39 ` Stuart R. Fuller
2 siblings, 0 replies; 12+ messages in thread
From: Tony Verhulst @ 2001-01-31 21:25 UTC (permalink / raw)
> *** 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
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: ARRGH!! Lost root password!
2001-01-31 21:12 ` Tony Verhulst
2001-01-31 21:25 ` Tony Verhulst
@ 2001-01-31 23:31 ` Malcolm Dunnett
2001-02-01 1:39 ` Stuart R. Fuller
2 siblings, 0 replies; 12+ messages in thread
From: Malcolm Dunnett @ 2001-01-31 23:31 UTC (permalink / raw)
In article <3A787FB3.7DCB4CCD@zk3.dec.com>,
Tony Verhulst <verhulst@zk3.dec.com> writes:
>> With Solaris I would boot from CD, mount /etc and edit
>> the password file to get it to something I wanted. Is
>> this the case with Tru64 as well? And if so, how do I
>> get the boot-up process to stop so I can tell it to boot
>> from the CD instead of the disk? With Sun workstations,
>> I would do a STOP-A, but I haven't found the key
>> combination to get the boot-up to abort for this.
> \x18
> Here's what I do - I trash systems a lot! :-)..... there may be an
> "official" way.
>
> Boot the distribution CD:
>
Can't you just boot into single user mode and do it from there?
>>> show boot_osflags ! note old value to reset later
>>> set boot_osflags "S"
>>> B
when the system comes up do /sbin/bcheckrc to mount the file systems
and away you go.
^ permalink raw reply [flat|nested] 12+ messages in thread* Re: ARRGH!! Lost root password!
2001-01-31 21:12 ` Tony Verhulst
2001-01-31 21:25 ` Tony Verhulst
2001-01-31 23:31 ` Malcolm Dunnett
@ 2001-02-01 1:39 ` Stuart R. Fuller
2001-02-01 14:35 ` Tony Verhulst
2 siblings, 1 reply; 12+ messages in thread
From: Stuart R. Fuller @ 2001-02-01 1:39 UTC (permalink / raw)
Tony Verhulst <verhulst@zk3.dec.com> wrote:
: Tom Metzger wrote:
:> With Solaris I would boot from CD, mount /etc and edit
:> the password file to get it to something I wanted. Is
:> this the case with Tru64 as well? And if so, how do I
:> get the boot-up process to stop so I can tell it to boot
:> from the CD instead of the disk? With Sun workstations,
:> I would do a STOP-A, but I haven't found the key
:> combination to get the boot-up to abort for this.
: \x18
: Here's what I do - I trash systems a lot! :-)..... there may be an
: "official" way.
: Boot the distribution CD:
: ##############################################################################
: ##
: ## Saving system hardware configuration from dsk0 . . . Done.
: ##
: ##############################################################################
: *** Performing CDROM Installation
: ^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.
: Tony V.
Good lord.
What's wrong with just booting to single user mode?
>>> boot -flags s
:
:
# mount -u /
# passwd
New password:
:
:
# ^D (to go back to multi-user)
Stu
^ permalink raw reply [flat|nested] 12+ messages in thread* Re: ARRGH!! Lost root password!
2001-02-01 1:39 ` Stuart R. Fuller
@ 2001-02-01 14:35 ` Tony Verhulst
2001-02-01 15:08 ` Tom Metzger
0 siblings, 1 reply; 12+ messages in thread
From: Tony Verhulst @ 2001-02-01 14:35 UTC (permalink / raw)
>
> Good lord.
>
> What's wrong with just booting to single user mode?
You can IF you don't have single user password protection enabled. I
assumed that he had it enabled or else he wouldn't be posting here.
Tony
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: ARRGH!! Lost root password!
2001-02-01 14:35 ` Tony Verhulst
@ 2001-02-01 15:08 ` Tom Metzger
2001-02-01 15:44 ` Joerg-Uwe Tessmer
2001-02-18 14:58 ` ARRGH!! Lost root password! Kari Uusimäki
0 siblings, 2 replies; 12+ messages in thread
From: Tom Metzger @ 2001-02-01 15:08 UTC (permalink / raw)
In article <3A797445.CAC60E7A@zk3.dec.com>, verhulst@zk3.dec.com says...
>
> >
> > Good lord.
> >
> > What's wrong with just booting to single user mode?
>
>
> You can IF you don't have single user password protection enabled. I
> assumed that he had it enabled or else he wouldn't be posting here.
>
> Tony
>
You assumed correctly. I've got MOST of the information I needed
(thanks Tony!), however my problem is how to STOP the normal boot-up
process so I can get to the >> prompt to tell it to boot from the
cdrom ? When I cycle the power, it starts booting from the disk
into multi-user. What I need is to stop that so I can tell it to
boot from the cdrom instead. Thanks again for all your help so far.
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: ARRGH!! Lost root password!
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
1 sibling, 1 reply; 12+ messages in thread
From: Joerg-Uwe Tessmer @ 2001-02-01 15:44 UTC (permalink / raw)
Tom Metzger wrote:
>
> You assumed correctly. I've got MOST of the information I needed
> (thanks Tony!), however my problem is how to STOP the normal boot-up
> process so I can get to the >> prompt to tell it to boot from the
> cdrom ? When I cycle the power, it starts booting from the disk
> into multi-user. What I need is to stop that so I can tell it to
> boot from the cdrom instead. Thanks again for all your help so far.
- Press the reset key on the front from the PWau.
- PWau runs a self test (blue screen): 2a.3a.4a.5a.6a and when you see
the
Number 6a press the <Ctrl>^c key many times so you can see the >>
promt.
- Then you can set the "auto_action" to "halt"
- Would you like boot to single user mode set the "boot_osflags" to "s"
and
>> boot
- would yo like to boot from the installation CD -> >>boot dknxxx
Thats all! ;-)
Joerg-Uwe
--
Joerg-Uwe Tessmer Universitaet Potsdam
Tel.: +49+331-9771613 Institut fuer Physik
Fax.: +49+331-9771142 Lehrstuhl Nichtlineare Dynamik
http://www.agnld.uni-potsdam.de/~joerg
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: ARRGH!! (Summary)
2001-02-01 15:44 ` Joerg-Uwe Tessmer
@ 2001-02-01 16:44 ` Tom Metzger
0 siblings, 0 replies; 12+ messages in thread
From: Tom Metzger @ 2001-02-01 16:44 UTC (permalink / raw)
Ok, here was the full solution. Some of the help came from
Tony Verhulst and some from Adam Wrzoskowicz. I was wrong
when I stated that I had single user password protection
enabled. That confusion on my part comes from dealing
primarily with Solaris machines where you DO have to enter
the root password to enter Single-User mode. So whomever
said "Good Lord, what's wrong with just booting to single
user" was absolutely correct. My apologies for that
misunderstanding. Now here for posterity in Deja News are
the correct steps:
Cycle the power. When the blue screen comes up at the
VERY beginning with gibberish like:
0a.0a.2a.3a.5a. start hitting CONTROL-C like there's
no tomorrow. Once you get to the >>> prompt, type:
>>> boot -fl s
Once it gets into single-user, you should have a # prompt.
Type:
# mount -u /
# mount -a (basically you want to mount the /usr
partition here. If it reports a "dirty
file system", smack it for being dirty, then
run "fsck" on the device, e.g.:
fsck /dev/rdisk/dsk3c Then do the
"mount -a" again).
# passwd Thankfully it doesn't ask for the old
password and just lets you give it a new
password.
Eject the CD-Rom and reboot into multi-user!
Thanks once again to everyone for your help.
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: ARRGH!! Lost root password!
2001-02-01 15:08 ` Tom Metzger
2001-02-01 15:44 ` Joerg-Uwe Tessmer
@ 2001-02-18 14:58 ` Kari Uusimäki
2001-02-19 14:58 ` Tony Verhulst
1 sibling, 1 reply; 12+ messages in thread
From: Kari Uusimäki @ 2001-02-18 14:58 UTC (permalink / raw)
Tom Metzger wrote:
>
> In article <3A797445.CAC60E7A@zk3.dec.com>, verhulst@zk3.dec.com says...
> >
> > >
> > > Good lord.
> > >
> > > What's wrong with just booting to single user mode?
> >
> >
> > You can IF you don't have single user password protection enabled. I
> > assumed that he had it enabled or else he wouldn't be posting here.
> >
> > Tony
> >
> You assumed correctly. I've got MOST of the information I needed
> (thanks Tony!), however my problem is how to STOP the normal boot-up
> process so I can get to the >> prompt to tell it to boot from the
> cdrom ? When I cycle the power, it starts booting from the disk
> into multi-user. What I need is to stop that so I can tell it to
> boot from the cdrom instead. Thanks again for all your help so far.
Have you tried Ctrl-P ? That usually works if you do it in the early
bootstrap phase.
Then if you want to define which device you would like to boot from
every time, you should set the console variable auto_action to "halt"
(without aphostrophes).
Regards,
Kari
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: ARRGH!! Lost root password!
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
0 siblings, 1 reply; 12+ messages in thread
From: Tony Verhulst @ 2001-02-19 14:58 UTC (permalink / raw)
Kari Uusim�ki wrote:
>
> Have you tried Ctrl-P ? That usually works if you do it in the early
> bootstrap phase...
This has not been implemented on some (OK, most) platforms... but works
wonderfully on those that have it. Newer machines have the System
Console Manager (SCM). On those you can enter "<esc><esc>scm" from the
console from which you can then enter a large set of commands -
including halting the machine.
Both Ctrl-P and EscEsc-scm are enabled at all times and are not
restricted to the "early bootstrap phase".
Tony V.
Kernel Group
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: ARRGH!! Lost root password!
2001-02-19 14:58 ` Tony Verhulst
@ 2001-02-19 15:58 ` Marble Head
0 siblings, 0 replies; 12+ messages in thread
From: Marble Head @ 2001-02-19 15:58 UTC (permalink / raw)
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1035 bytes --]
Tony Verhulst <verhulst@zk3.dec.com> wrote in
<3A91347A.16222ADA@zk3.dec.com>:
>Kari Uusim�ki wrote:
>
>>
>> Have you tried Ctrl-P ? That usually works if you do it in the early
>> bootstrap phase...
>
>
>This has not been implemented on some (OK, most) platforms... but works
>wonderfully on those that have it. Newer machines have the System
>Console Manager (SCM). On those you can enter "<esc><esc>scm" from the
>console from which you can then enter a large set of commands -
>including halting the machine.
>
>Both Ctrl-P and EscEsc-scm are enabled at all times and are not
>restricted to the "early bootstrap phase".
>
>Tony V.
>Kernel Group
>
To force your computer to stop at the SRM prompt, instead of going through
the normal boot process:
Unplug your hard drive. Then you can change settings, shutdown,
reconnect the hard drive, and come back up to srm prompt.
If you would like to stop at srm in the future, do this:
>>> set auto_action halt
To go back to regular:
>>> set auto_action boot
^ permalink raw reply [flat|nested] 12+ messages in thread
end of thread, other threads:[~2001-02-19 15:58 UTC | newest]
Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
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
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox