Changing argv of the python process

Markus Schaber markus at
Sun Aug 19 20:10:32 CEST 2001


Tim Roberts <timr at> 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 

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

More information about the Python-list mailing list