Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
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 lurking in the Monastery: (9)
As of 2014-11-23 19:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred Perl binaries come from:














    Results (134 votes), past polls