root password in a .py script

Paul Rubin http
Fri Mar 12 22:56:40 CET 2004


Bart Nessux <bart_nessux at hotmail.com> writes:
> Well, it works. They change the password and the script changes it
> back... try it yourself on Mac OSX 10.3.x, before claiming it doesn't
> work.

That script can only work if it's running as root, not just owned by
root.  Why do you want to change the password anyway, if you can
already run stuff as root?



More information about the Python-list mailing list