Yes. Following these instructions (should) fix the password problem for
root. However, it also teaches you one of the security holes in the
system...
if that makes you nervous, good. Read the instructions BEFORE starting.
Reboot the system (yes, this requires a reboot!)
At the LILO prompt, type "single" without the quotes.
Eventually, you'll get a prompt:
bash#
Then type the following, (with the escape key for <esc>
vi /etc/passwd
d
i
root::0:0:/root:/bin/bash <= Make sure to hit enter!
<esc>
wq
(You should now be at the bash prompt again. What you've just done is blow
away the root password... VERY bad, but necessary in this case. Don't
worry,
we're going to put one back!)
Now type
init 3
You should (after a few minutes) get the login prompt. Login as user
root, but just hit enter for the password. When you get your root prompt,
type passwd and follow the directions to put in your new root password.
Warning! Do NOT forget to redo the root password! If you ignore this
last bit, and leave the root password off, your system is wide open for
EVERYONE to do ANYTHING they want to it.
HTH
Bill Ward
-----Original Message-----
From: Morse [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 07, 2000 8:19 PM
To: [EMAIL PROTECTED]
Cc: recipient.list.not.shown; @nswcphdn.navy.mil
Subject: RH 6.1 forgot root password
I just installed RH 6.1. This is the first time I have used this 6.1
install program. When it got to the point where it asked for the root
password I put it in and then added a user....this is new. I assumed this
was a user to su from. I am positive of my root password. When I booted
up it would not accept the root password but accepts the user password...so
I can boot but I just can't get in as root. is there anything I can do
other then reinstall ?
m
--
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.
--
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.