View Single Post
noobmonkey's Avatar
Posts: 3,203 | Thanked: 1,391 times | Joined on Nov 2009 @ Worthing, England
#191
ok, right tidied up the app ready to lean this bit.....
I'm going to sound incredibly noobish... (Tis all in the name i say!)......

Precisely. Place a file in /etc/sudoers.d with a command that you want whitelisted for running as root via sudo (standard sudoers syntax), instead, and run "update-sudoers" in the postinst and postrm scripts of the package.
I'm assuming that means for example if i want to run apt-get clean
It needs to be added somehow to /etc/sudoers.d


Not sure what you mean by -
run "update-sudoers" in the postinst and postrm scripts of the package.
My package is pretty simple... 2 py files and the usual desktop, service and icons...
__________________
----------- Follow me on Twitter here
----------- My Photography Website and Blog is here
----------- Author of the N900 Health Check Application ----------- New Version in Extras Devel (Dec 2010 - 2.9.10)
----------- Are you on the N900 World Map? - http://pininthemap.com/maemo - masterpin: shotgun
----------- What apps do you want to see on the n900 or in MeeGo in the future? -