Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'shell programming tip' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
shell programming tip
Authored by: LouieNet on Apr 12, '04 03:34:04AM
In addition, be wary of putting sensitive information, such as a password, into an environment variable. While the script is running, the variable can be read by another user if the correct ps option is used.

And if you have to put the password into the script, please make sure the appropriate read permissions are set so it cannot be read by unintended eyes.

---
G4 cube, 1152M RAM, OS X Server 10.2.8
17" Powerbook G4, 1G RAM, OS X 10.2.8

[ Reply to This | # ]