Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
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?
[GotToBTru]: ugh .. what's the term for comparing versions of an algorithm to determine which is most efficient?
[hippo]: Benchmarking?
[GotToBTru]: hippo++
erix .oO( apparently but does not GotToBFast )
[Discipulus]: now i must come back to my house/hoven monks: dont do interesting discussion in my absence!
[erix]: or apparently, now it does :)
[GotToBTru]: heh
erix prods ambrus to (re-)start cbstream...
[GotToBTru]: I've got a program with an if ... or ... statement with 80 clauses

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (14)
As of 2017-06-22 12:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How many monitors do you use while coding?















    Results (519 votes). Check out past polls.