View Single Post
Posts: 196 | Thanked: 54 times | Joined on Jan 2010 @ UK
#195
user ALL = NOPASSWD: /apt-get %users ALL = NOPASSWD: /sbin/reboot
Code:
user ALL = NOPASSWD: /apt-get
user ALL = NOPASSWD: /sbin/reboot
one command per line

postinst & postrm go in /DEBIAN folder in your package folder structure.

I am just starting with linux development as well, used to do .net dev on windows this quite different!
 

The Following User Says Thank You to fred123 For This Useful Post: