The Following User Says Thank You to Saturn For This Useful Post: | ||
|
2011-09-11
, 15:07
|
|
Posts: 5,028 |
Thanked: 8,613 times |
Joined on Mar 2011
|
#12
|
user ALL = NOPASSWD: /usr/bin/bnf.sh
sudo test-bnf.sh
Exec=sudo bnf.sh
Exec=osso-xterm -e "sudo bnf.sh"
Exec=sudo bnf.sh
|
2011-09-11
, 15:07
|
|
Posts: 4,118 |
Thanked: 8,901 times |
Joined on Aug 2010
@ Ruhrgebiet, Germany
|
#13
|
|
2011-09-11
, 15:12
|
|
Posts: 4,118 |
Thanked: 8,901 times |
Joined on Aug 2010
@ Ruhrgebiet, Germany
|
#14
|
|
2011-09-11
, 15:55
|
|
Posts: 5,028 |
Thanked: 8,613 times |
Joined on Mar 2011
|
#15
|
osso-xterm -e "sudo bnf.sh"
The Following User Says Thank You to Estel For This Useful Post: | ||
|
2011-09-11
, 18:57
|
|
Posts: 4,118 |
Thanked: 8,901 times |
Joined on Aug 2010
@ Ruhrgebiet, Germany
|
#16
|
|
2011-09-11
, 19:47
|
|
Posts: 5,028 |
Thanked: 8,613 times |
Joined on Mar 2011
|
#17
|
Just one question/remark:
why don't You put it directly in /usr/sbin/, as this script requires root privileges anyway?
/usr/sbin/bnf.sh /usr/share/applications/hildon/bnf.desktop /etc/sudoers.d/bnf.sudoers
e.g.:
the sudoers file:
Packages: elGR Locale, SMSCON Editor, Swappolube, CSSU Features Configuration, Snuggle, YAMAS, Cleven
Garage: SMSCON, Swappolube, CSSU Features Configuration, Snuggle
Wiki: SMSCON, SMSCON Editor, Swappolube, CSSU Features Configuration, Cleven