You are not logged in.

#1 2013-11-18 21:51:04

Gr0t92
Member
Registered: 2013-05-12
Posts: 10

IPBlock launcher help

on my current setup I am using Openbox as my WM and use openbox-menu + openbox-xdgmenu to automatically create launchers for my installed programs. The launcher for Ipblock invokes a popup saying

run as root KDE su

if I enter my root password another prompt apears saying

Cannot execute command ' '/usr/sbin/ipblock start_gui''.

If I enter

sudo ipblock -g

via terminal everything works as expected except I do not want to type this every time and do not want to enter the sudo password each time if avoidable. I have tried adding

USERNAME ALL=(root)NOPASSWD:/usr/sbin/ipblock

to my /etc/sudoers file where USERNAME is my username, and tried firing it up from a terminal again and ipblock still says it needs to be executed as root. If it helps

/usr/share/applications/ipblock.desktop
[Desktop Entry]
Version=1.0
#Encoding=UTF-8
Name=IPblock
Comment=IP Blocker
Categories=Network;
TryExec=/usr/sbin/ipblock
Exec=/usr/sbin/ipblock -g
Icon=ipblock
Terminal=false
Type=Application

Any thoughts?

Offline

Board footer

Powered by FluxBB