Besides that, if she's already logged in as root, all she has to do is is run
passwd.  She doesn't even have to know the old passwd!

Step one: reboot
Step two: At the LILO prompt, type "linux single"
Step three: At the bash prompt, type "passwd"
Step four: Enter and re-enter the new password
Step five: Type "init 3"
Step six:  Do NOT write the password and then keep it by the machine, store it
in a plain text file on the system, or post it to a newsgroup ; ) (sorry,
feeling a bit zany today).

-Jacob

On Thu, 22 Mar 2001, you wrote:
> > Harmit,
> > You mean changing root password at shell prompt?
> > he can remove the encrypted passwd from /etc/shadow and reboot and
> > enter linux without a root password.And later,assign a password.
> > isn't it?
> > 
> But you first have to have the root password to edit the shadow file, so
> it's circular logic. It's just easier to reboot the machine, login with
> "linux single" at the LILO prompt and then "passwd root" and change the root
> password. From there, you can "init 3" to get to either a multi-user login
> prompt or "init 5" to get to a multi-user GUI login prompt.
> Unless you know some way that I'm not familiar with of editing a file which
> requires root authorization without benefit of the root password, you can't
> edit the shadow file. I suppose if you have "root" logged in already you can
> do so, but I don't think most people are going to be leaving "root" logged
> in.:-)
> 
> 
> 
> _______________________________________________
> Redhat-list mailing list
> [EMAIL PROTECTED]
> https://listman.redhat.com/mailman/listinfo/redhat-list
-- 
Jacob Killian
PGTC System Administrator

<mailto: [EMAIL PROTECTED]>
<http://www.pgtc.net>

501-846-7245

"Long may we walk" --my mom



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to