Thread
:
[Solved] Need help with sudoers
View Single Post
anistein
2011-11-12 , 08:50
Posts: 20 | Thanked: 11 times | Joined on Apr 2010
#
1
I'm working on an app that requires root privileges, I have created an bluehead.sudoers file containing:
user ALL = NOPASSWD: /opt/bluehead/bin/bluehead
i have also included a postinst file containing:
#!/bin/sh
update-sudoers
exit 0
the app executable is installed to /opt/bluehead/bin/
app name = bluehead
When i install this app on my device using the Qt SDK it still asks for password when i try sudo bluehead in the installation directory
ls - l on the executable returns -rwxr-xr-x
I'm developing on Qt SDK 1.1.4
What I'm I missing out? Any help appreciated (I'm about to start pulling my hair out)
Last edited by anistein; 2011-11-13 at
10:41
. Reason: solved
Quote & Reply
|
anistein
View Public Profile
Send a private message to anistein
Find all posts by anistein