|
BugTraq
ps information leak in FreeBSD Jan 05 2003 08:46PM Cache (cache sowatech com pl) (2 replies) Re: ps information leak in FreeBSD Jan 07 2003 09:18AM Jez Hancock (jez hancock munk nu) (2 replies) Re: ps information leak in FreeBSD Jan 07 2003 05:48PM Crist J. Clark (crist clark attbi com) (1 replies) |
|
Privacy Statement |
> Any program that asks for a password on the command line should have
> the common decency to overwrite/obfuscate it, along the lines of,
>
> case 'p':
> passwd = optarg;
> optarg = "********";
> break;
>
> So that it doesn't show up in any "ps" output.
That works only for OSs which support argv clobbering - it is by no
means portable and shouldn't be depended on for security.
-d
[ reply ]