Reply
Thread Tools
Posts: 156 | Thanked: 90 times | Joined on Jan 2010
#1
Since I've upgraded, desktop shortcuts which need root privileges don't work. I can't even make reboot shortcut work, let alone openvpn stuff. For example, what needs to be put in exec line of desktop file for reboot command in PR1.2?
 
Posts: 42 | Thanked: 20 times | Joined on Feb 2010 @ Perth, WA
#2
Myself I always used two scripts. One calls rootsh on the other, and the response is passed back up to the desktop command widget. Still seems to work in 1.2.
 
Posts: 156 | Thanked: 90 times | Joined on Jan 2010
#3
 
MohammadAG's Avatar
Posts: 2,473 | Thanked: 12,265 times | Joined on Oct 2009 @ Jerusalem, PS/IL
#4
Exec=osso-xterm "echo "reboot" | root" should work
Or just make a service.
 

The Following User Says Thank You to MohammadAG For This Useful Post:
Posts: 156 | Thanked: 90 times | Joined on Jan 2010
#5
 
Posts: 156 | Thanked: 90 times | Joined on Jan 2010
#6
I've solved it using sudoers file in etc/sudoers.d and running update-sudoers. Then put in desktop file's exec line: /usr.../osso-xterm 'sudo script.sh'
 
Reply


 
Forum Jump


All times are GMT. The time now is 00:34.