Thread
:
Gnuite applet with run command
View Single Post
gnuite
2006-08-08 , 02:30
Posts: 1,245 | Thanked: 421 times | Joined on Dec 2005
#
12
Also, if you haven't already, try using an absolute pathname. I don't think sh uses /etc/profile (and the load-plugin is basically using sh), so it might not be setting a PATH. I know I've had trouble trying to get it to recognize my ~/bin/ directory.
And make sure you (not just root) have execute permissions on the file.
Also, the "sudo su -" part might be screwing you up - that will start a new (interactive) shell, which will not get any input since the load-applet is running it.
I personally would add your command to the /etc/sudoers file and use sudo to run the command, instead of using "sudo su -".
Quote & Reply
|
gnuite
View Public Profile
Send a private message to gnuite
Find all posts by gnuite