|
2012-09-02
, 19:28
|
|
Posts: 868 |
Thanked: 2,516 times |
Joined on Feb 2012
@ Germany
|
#22
|
The Following 5 Users Say Thank You to Halftux For This Useful Post: | ||
|
2012-09-08
, 21:01
|
|
Posts: 868 |
Thanked: 2,516 times |
Joined on Feb 2012
@ Germany
|
#23
|
|
2012-09-08
, 21:09
|
|
Posts: 1,359 |
Thanked: 1,292 times |
Joined on Oct 2011
@ Tartus.Syria
|
#24
|
user ALL = NOPASSWD: /usr/sbin/bnf.sh
The Following 3 Users Say Thank You to sifo For This Useful Post: | ||
|
2012-09-08
, 21:46
|
|
Posts: 868 |
Thanked: 2,516 times |
Joined on Feb 2012
@ Germany
|
#25
|
Isnt it better to add a a "genwall.sudoers" in "/etc/sudoers.d/" ?
here is an example for the bnf.sudoers file
and then you can remove the sudo from the desktop fileCode:user ALL = NOPASSWD: /usr/sbin/bnf.sh
i really dont know the different but this is what all devs doing
Great job dude
./sifo
|
2012-09-09
, 20:27
|
|
Posts: 4,118 |
Thanked: 8,901 times |
Joined on Aug 2010
@ Ruhrgebiet, Germany
|
#26
|
and then you can remove the sudo from the desktop file
i really dont know the different but this is what all devs doing
To use the icon from application browser you need to have sudser installed.
user ALL = NOPASSWD: /usr/sbin/genwall
user ALL = NOPASSWD: /opt/genwall/bin/genwall
The Following 5 Users Say Thank You to peterleinchen For This Useful Post: | ||
|
2012-09-09
, 20:33
|
|
Posts: 1,359 |
Thanked: 1,292 times |
Joined on Oct 2011
@ Tartus.Syria
|
#27
|
|
2012-09-09
, 20:49
|
|
Posts: 868 |
Thanked: 2,516 times |
Joined on Feb 2012
@ Germany
|
#28
|
Nope, if you follow sifo's first hint. Put a genwall.sudoers file into /etc/sudoers.d
And then call update 'update-sudoers' in postinstall script.
This will allow the user to execute genwall with sudo rights without entering a password. You still need to call it with sudo from desktop file as well as from command line.
Sudser just adds a * to sudoers (not my security-preferred thing, but easy for lazy) ...
|
2012-09-09
, 20:55
|
|
Posts: 4,118 |
Thanked: 8,901 times |
Joined on Aug 2010
@ Ruhrgebiet, Germany
|
#29
|
The Following User Says Thank You to peterleinchen For This Useful Post: | ||
|
2012-12-21
, 02:00
|
|
Posts: 868 |
Thanked: 2,516 times |
Joined on Feb 2012
@ Germany
|
#30
|
Install sysklogd and edit config file: