Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: plaintext password in scripts run through cron

by BazB (Priest)
on Oct 17, 2003 at 12:28 UTC ( #299989=note: print w/ replies, xml ) Need Help??


in reply to plaintext password in scripts run through cron

ptkdb covers the SSH side of things well.

As for any database passwords, I'd be inclined to simply store passwords in a file that is readable only by the user running the script.
Parse, do or otherwise include that file as required.

If that requires a new user and/or group just for running automated commands, so be it.

Cheers,

BazB


If the information in this post is inaccurate, or just plain wrong, don't just downvote - please post explaining what's wrong.
That way everyone learns.


Comment on Re: plaintext password in scripts run through cron
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (10)
As of 2014-12-28 16:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (182 votes), past polls