http://qs321.pair.com?node_id=308209


in reply to How best to hide command-line arguments from ps command?

You may want to look at search.cpan.org and type in password. Unfortunatly, without knowing what your requirements are (for os and such) it's hard to recommend specific modules. There are modules that support Pam authentication / Kerboes authentication / Read passwords from the terminal. Personally, I would tend to stay away from environment variables, since one could access the information if one had appropriate permissions on the box. (Also, keeping the correct permissions on all files for someone who is not 100% into linux / unix could be an issue... I've run into instances in the past where people "borrow" stuff out of your home directory, and it's not fun for anyone involved.)
Cheers.


----
Zak
undef$/;$mmm="J\nutsu\nutss\nuts\nutst\nuts A\nutsn\nutso\nutst\nutsh\ +nutse\nutsr\nuts P\nutse\nutsr\nutsl\nuts H\nutsa\nutsc\nutsk\nutse\n +utsr\nuts";open($DOH,"<",\$mmm);$_=$forbbiden=<$DOH>;s/\nuts//g;print +;