View Single Post
Posts: 204 | Thanked: 423 times | Joined on Jan 2011
#810
Originally Posted by marmistrz View Post
What's the problem with this entry

Code:
user ALL = NOPASSWD: /usr/bin/run-standalone.sh /opt/powedit/bin/powedit
'cause I don't know?
The problem is that powedit.sudoers does not contain THAT line.
It contain following line, which is not valid sudoers entry:
Code:
user ALL = NOPASSWD: sudo /usr/bin/run-standalone.sh `dirname $0`/powedit
There is no problem during (re)installing powedit because your package's postinst and postrm don't run update-sudoers to update sudoers, how it's even supposed to work?
 

The Following 4 Users Say Thank You to hxka For This Useful Post: