How do I get my python program to get the root password ?

Linuxguy123 linuxguy123 at gmail.com
Sat Jan 24 02:06:49 CET 2009


I want to make a python program that I can run as a normal user that
changes the permission on some device files.  It will need to ask me for
the root password and then run chown as root in order to do this. 

How do I accomplish this (easily) ?

Thanks




More information about the Python-list mailing list