Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re^2: change unix password with cgi-script

by duelafn (Priest)
on Jun 09, 2011 at 15:45 UTC ( #908943=note: print w/ replies, xml ) Need Help??


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

Single ticks are insufficient, passing to the shell at all is trouble. merlyn has a post (feeding text to a process, and capturing its output, safely) which shows a safe way to `echo $INPUT | Some Command` (if the OP insists on pursuing this approach).

Good Day,
    Dean


Comment on Re^2: 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://908943]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (19)
As of 2015-07-28 18:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (258 votes), past polls