1) consider installing ssh so your password doesn't go cleartext over the network :-)

2) I noticed that on some systems after an "su" if you use "passwd" you're actualy
changing the password of the user you were *before* the su.  Are you by any chance 
changing the root password to that of the user?

Another option: change the password on your local machine and then copy the encrypted
version from your /etc/passwd file (or /etc/shadow if you use shadow passwords) to the
/etc/passwd or /etc/shadow on the remote system. That way the new password doesn't go
over the net (ofcourse it doesn't matter if the next thing you do is a telnet to the
remote machine to test the new password :-)

Nico


On Thu, 9 Mar 2000, Timothy Lillicrap wrote:

> 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.
> 
> 

--------------------------------------------------------
 "It has been said that there are only two businesses
  refer to customers as users: illegal drug trade and
               the computer industry." 
--------------------------------------------------------
Nico De Ranter
Sony Service Center (SDCE/DME-B)
Sint Stevens Woluwestraat 55 (Rue de Woluwe-Saint-Etienne)
1130 Brussel (Bruxelles), Belgium, Europe, Earth
Telephone: +32 2 724 86 41 Telefax: +32 2 726 26 86
e-mail: [EMAIL PROTECTED]


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

Reply via email to