Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: Re: plaintext password in scripts run through cron

by jasonk (Parson)
on Oct 17, 2003 at 13:20 UTC ( #300001=note: print w/ replies, xml ) Need Help??


in reply to Re: plaintext password in scripts run through cron
in thread plaintext password in scripts run through cron

Just a tip when storing passwords in a daemon. On most platforms putting it in the environment isn't any safer than putting it in a file on disk (if you are on a linux box, try 'cat /proc/$$/environ').


We're not surrounded, we're in a target-rich environment!


Comment on Re: Re: plaintext password in scripts run through cron
Re: Re: Re: plaintext password in scripts run through cron
by robobunny (Friar) on Oct 17, 2003 at 13:44 UTC
    Well that's unfortunate. I guess you're better off avoiding environment variables for that sort of thing then, although Solaris and Tru64 don't supply that info in /proc. I don't know about other OS's.

      Just because they don't provide it in /proc doesn't mean it isn't available. I used linux as an example just because it's available so easily, but the environment is not safe on most platforms, not just linux.


      We're not surrounded, we're in a target-rich environment!

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (9)
As of 2015-07-02 08:24 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 (31 votes), past polls