Thanks for your answers. How can I make that action more secure? Is there any way for running the program from a regular user (non su) without having the password within the code?
_Ricardo 2008/5/30 Alan Gauld <[EMAIL PROTECTED]>: > > "Brett Wilkins" <[EMAIL PROTECTED]> wrote > >> Just as a side point, wouldn't the easiest way be to run the script under >> sudo? >> It's safer imho than putting the sudo password in programmatically... >> > > Yes, but he is (presumably) already using sudo within os.system. > He wants to avoid putting in the password so he must take the > security risks associated with that approach. > > Caveat emptor as they say! > > Alan G > > _______________________________________________ > Tutor maillist - [email protected] > http://mail.python.org/mailman/listinfo/tutor >
_______________________________________________ Tutor maillist - [email protected] http://mail.python.org/mailman/listinfo/tutor
