[Tutor] Best way to call a prog that requires root access in linux
Christopher Arndt
chris.arndt at web.de
Fri Jan 5 16:50:20 CET 2007
pytutor.20.247ob at spamgourmet.com schrieb:
> I want to distribute the program once
> it's finished so it means explaining this (sudo bit) in the install
> instructions.
>
> Is this a good / bad way to achieve this?
Yes, the user should be always made aware, if he is to run something as root.
Requiring him to configure sudo is a good way to do this.
Just make sure your program fails with a meaningful error message, if sudo
isn't set up properly.
Chris
More information about the Tutor
mailing list