Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
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

Replies are listed 'Best First'.
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 scrutinizing the Monastery: (6)
As of 2016-08-29 23:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    The best thing I ever won in a lottery was:















    Results (409 votes). Check out past polls.