Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re^3: Passing Password through Perl Script

by johngg (Abbot)
on Aug 09, 2012 at 10:46 UTC ( #986482=note: print w/ replies, xml ) Need Help??


in reply to Re^2: Passing Password through Perl Script
in thread Passing Password through Perl Script

If you want your script to run with the privileges of user "hduser" without having to enter that user's password you should probably investigate Secure Shell.

Cheers,

JohnGG


Comment on Re^3: Passing Password through Perl Script
Re^4: Passing Password through Perl Script
by Anonymous Monk on Aug 09, 2012 at 19:21 UTC

    That, or root privileges. (su asks no password if started as root.) But ssh is a good idea, and so would be a properly configured sudo.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://986482]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (12)
As of 2015-07-07 16:13 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 (91 votes), past polls