Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

RE: password change

by ncw (Friar)
on Sep 04, 2000 at 23:51 UTC ( #31035=note: print w/ replies, xml ) Need Help??


in reply to password change

You have to ssh to the server and run /usr/sbin/usermod <username> -p crypted-password

Eg :-

$crypted_pass = crypt $password, substr(crypt(rand, "AA"), 2, 2); system("ssh", "-l", "root", "www.perlmonks.com", "/usr/sbin/usermod '$user' -p '$crypted_pass'") == 0 or die "...";
(Just kidding ;-)


Comment on RE: password change
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://31035]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (20)
As of 2014-08-28 14:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (261 votes), past polls