1834163 Members
2586 Online
110064 Solutions
New Discussion

Resetting password

 
SOLVED
Go to solution
laiju.c.babu
Regular Advisor

Resetting password

Hi Team,

 

I have to change the password of a  normal user in my Unix machines .. I have  more than 500 machines . Its very difficult to login to each machine and do , could any one please help me to provide a script to do  this. The details are as follows :

 

OS === HPunix 11iv2

The OS is a trusted server , remsh is already enabled .. Could any one please provide me some light on this ...

I have a file contains the  list of all host names ....

 

Regards

Laiju.C.Babu

Laiju.C.Babu
2 REPLIES 2
laiju.c.babu
Regular Advisor

Re: Resetting password

Hi Dennis Handly,

 

Thanks a lot for your nice suggetion, this saved my lot of time ..... The syntax which i used is as below

 

remsh <server name > /usr/sam/lbin/usermod.sam -p `echo password66 | /usr/lbin/makekey` <user id>

 

When i am using the above command the passwd for the user is password ...

 

Once again thanks a lot for your help.. :)

 

 

Regards

Laiju.C.Babu


 

 

Laiju.C.Babu