> 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