Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re^3: change unix password with cgi-script

by duelafn (Priest)
on Jun 08, 2011 at 12:58 UTC ( #908703=note: print w/ replies, xml ) Need Help??


in reply to Re^2: change unix password with cgi-script
in thread change unix password with cgi-script

This should handle the mechanics of updating the shadow file for you:

system "/usr/sbin/usermod" => "--password", $cryptedShadowString, $benutzername;

Good Day,
    Dean


Comment on Re^3: change unix password with cgi-script
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://908703]
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: (7)
As of 2014-07-11 01:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When choosing user names for websites, I prefer to use:








    Results (217 votes), past polls