Tim:

Good question, I have read your procedure step by step and I have no problem
changing root password via telnet using this same method. I log in with my
username and password then su to root and give the current root password and
type "passwd" an hit enter and enter the new password twice. When I open a
second telnet box I find that the new password in place. Try doing this
follow the same procedure you just did to change the root passwd then "cd"
to /etc and do "ls -ltr" to see that passwd file has been changed then do a
"diff" on passwd and passwd- to see that there was a change in root passwd.
The output should show you the difference in your encryption of the passwd
file and its backup that was created as passwd-. Note I am also a RH 6.0
user with original kernel 2.2.5-15.

Eddie Strohmier
Bonwell Globalnet
www.bonwell.com

----- Original Message -----
From: Timothy Lillicrap <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, March 09, 2000 12:16 PM
Subject: Changing root password remotely.


> Hi I have two RH6.0 servers which I administer remotely from home.  They
are in
> a different city which is a 3.5-4 hour drive away.  I would like to be
able to
> remotely change the root password on these boxes, but I have run into a
> problem...
>
> I have to telnet to the boxes with a regular users acount and then su to
get
> root access (I think this is normal).  Anyway, when I have sued to root
and
> give passwd root, everything appears to work properly.   It asks me for
the new
> password, and then asks me to reenter etc.  Everything seems good.
>
> However, when I log off and then log back in as a regular user, and then
try to
> su to root using my new password, it doesn't work (the first time I did
this is
> scared the **it out of me as I thought I'd locked myself out of the
system).
> All that had happened though is that the old password was still in place
and I
> could get root just fine with that.
>
> So my question is, what do I need to do change the password remotely????
>
> Thanks
>
> Timothy Lillicrap
>
>
> --
> To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
> as the Subject.


-- 
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.

Reply via email to