root password in a .py script
Jorgen Grahn
jgrahn-nntq at algonet.se
Fri Mar 12 12:30:37 EST 2004
On Fri, 12 Mar 2004 12:11:30 -0500, Bart Nessux <bart_nessux at hotmail.com> wrote:
> I have to place a root password into a Python script. Is there a way to
> encode it so that one can't read the password when viewing the file, but
> when the sting is used it's decoded? For example:
The only remotely secure way is to do what Unix does in /etc/passwd (to name
a well-documented example). As far as I can see.
/Jorgen
--
// Jorgen Grahn <jgrahn@ ''If All Men Were Brothers,
\X/ algonet.se> Would You Let One Marry Your Sister?''
More information about the Python-list
mailing list