Installed a program woeusb with make install but cant run it with sudo

asked 2017-08-11 12:26:16 -0500

revolucion09 gravatar image

Hi all,

I have installed woeusb successfully using make install, the binary is installed in /usr/bin/local. The program launches if I run it but it does not really work since it needs root access. So when I run sudo woeusb it throws:

sudo: woeusb: command not found

Why is woeusb not in sudo's PATH? First thing I tried is add it to securepath in /etc/sudoers but then I get other variables not set (in this case SESSIONMANAGER), which I also tried to add them to keep_env but still getting other errors (Debug: Failed to connect to session manager: Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed).

After adding secure_path to /usr/local/bin I already can use the program through command line, but the GUI interface is still failing to find its binary friend: /bin/sh: woeusb: command not found

Adding PATH to keep_env does not resolve this.

Thanks for clarifying a little bit

edit retag flag offensive close merge delete


How are you starting the GUI interface?

ssieb gravatar imagessieb ( 2017-08-11 15:23:50 -0500 )edit

woeusbgui is the binary with GUI. It then calls woeusb binary.

revolucion09 gravatar imagerevolucion09 ( 2017-08-11 22:45:07 -0500 )edit