View Single Post
Posts: 2,152 | Thanked: 1,490 times | Joined on Jan 2006 @ Czech Republic
#5
safer way is to modifiy /etc/sudoers (i.e. add just your script/command there) and then have your script called from menu to call sudo. See e.g. how it is done in kbdd but replace 'sudo gainroot' for something you added to /etc/sudoers
__________________
Newbies click here before posting. Thanks.

If you really need to PM me with troubleshooting question please consider posting it to the forum instead. It is OK to PM me a link to such post then. Thank you.