Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re^3: change unix password with cgi-script

by duelafn (Vicar)
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

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://908703]
help
Chatterbox?
[Discipulus]: good morning Corion and all monks!!
[Discipulus]: the whole weekend was dedicated to a marionette representation done for all the children of our family / clan and thei friend. 2+ hours divided in three acts + snack time

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (9)
As of 2017-03-27 07:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should Pluto Get Its Planethood Back?



    Results (316 votes). Check out past polls.