Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: How best to hide command-line arguments from ps command?

by zakzebrowski (Curate)
on Nov 19, 2003 at 01:50 UTC ( #308209=note: print w/replies, xml ) Need Help??


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 +;

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (6)
As of 2020-07-06 20:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?