[PATCH] sys.modify_argv()

Skip Montanaro skip at pobox.com
Sat Aug 25 09:27:02 EDT 2001


    Paul> "John Roth":
    >> Why do you want to do this?

    Paul> The idea is to run a command with a password on the command line,
    Paul> and not have the password stay visible to "ps" through the whole
    Paul> time the process is running.

I trust everyone recognizes the race condition here.  Passwords shouldn't be
on command lines if they are sensitive.

-- 
Skip Montanaro (skip at pobox.com)
http://www.mojam.com/
http://www.musi-cal.com/




More information about the Python-list mailing list