Changing argv of the python process

Markus Schaber markus at schabi.de
Sun Aug 19 14:10:32 EDT 2001


Hi,

Tim Roberts <timr at probo.com> schrub:

>>> How does one exec a python program with a password on the cmdline?
>>
>>Doing this is silly, stupid, a security breach, <put here
>>expelletive>, etc. Don't you see a password on a commandline can be
>>seen by other tools of the same operative system? On Unix is as easy
>>as running "ps aux". Under Windows I had once used similar tools to
>>watch processes and their system information.
> 
> Right.  That is EXACTLY why he wants to alter argv.

But there's always a moment where another user can gather the unaltered 
argv.

markus
-- 
1) Customers cause problems.
2) Marketing is trying to create more customers.
Therefore:
3) Marketing is evil.  (Grand Edwards in comp.lang.python)



More information about the Python-list mailing list