Reply
Thread Tools
Posts: 542 | Thanked: 117 times | Joined on Sep 2008 @ 52 N, 6 E
#1
I installed "personal menu" which allows to run a command as root. But then it prompts for the root password.
When I set "sudo gainroot" as command and 'Run in terminal' checked and 'Run as root' UNchecked, it opens a terminal without password prompt. So then I added the command after it:

sudo gainroot:emelfm2

to let run emelfm2 as root. But then it prompts again for a password so it appears when adding extra commandline arguments it does prompt again.
Any ideas on this ?
__________________
Nokia N810 FW version 5.2008.43-7
iPad 2 (iOS 4.3.2) Macbook Pro (10.6.6)
Nokia 5800 phone FW 62.0.0125
 
Posts: 607 | Thanked: 296 times | Joined on Jun 2008 @ Finland
#2
I think the way that personal menu uses to lanch application as root is simple sudoing.
__________________
Touch Book .. do not waste you money on it.
 

The Following User Says Thank You to meizirkki For This Useful Post:
Posts: 542 | Thanked: 117 times | Joined on Sep 2008 @ 52 N, 6 E
#3
I found the answer, edit /etc/sudoers and allow a user to start /usr/bin/emelfm2 with NOPASSWD.
Thanks, anyway.
__________________
Nokia N810 FW version 5.2008.43-7
iPad 2 (iOS 4.3.2) Macbook Pro (10.6.6)
Nokia 5800 phone FW 62.0.0125
 

The Following 2 Users Say Thank You to skatebiker For This Useful Post:
Posts: 271 | Thanked: 107 times | Joined on May 2008 @ Georgia
#4
You can also install a app called sudser, then all you have to do is check the option to run program you want to run as root in you personal menu.

Also the 'rush' command gives you root access in xTerminal.
 
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 07:51.