Some weird things happens - I solved some problems, others no. I will relate, step-by-step, for someone understand how this thing is going on:
1) According WCS repply, I added (and modified) the followings lines in visudo
:Cmnd_Alias FIRESTARTER=/usr/local/bin/firestarter %users ALL=NOPASSWD:SHUTDOWN,DIAL,SERVER,HW1,MOUNT1,SGMAP,PDMOUNT,SMBMOUNT,
(used /usr/local/bin/firestarter because the whereis
command told me that firestarter is here...)
Results: no change... BUT I added (in sequence) the following line to sudoers
files (via visudo
then I can, in a terminal, do sudo firestarter
without the ask of a password - and it works!
2) Next, I commented
the line in sudoers
file: %admin ALL=NOPASSWD:ALL
%admin ALL=NOPASSWD:ALL), and do sudo firetarter
, or sudo firestarter --start-hidden
still works without asking my sudo password (so the hint of WCS worked). Thanks WCS
Ok... First problem solved.
The only problem left (that I consider a small problem) is that the firestarter icon
on menu System
, when clicked, still says "Insufficient privileges: You must have root privileges to use Firestarter" (but I can do it by a terminal window, using sudo
). If anyones know how to fix this, I appreciate some help.
Don't find the firestarter launcher in /usr/share/gnome/apps/Internet/Firestarter.desktop
, WCS, because there is no apps folder
in usr/share/gnome - I assume that is because I'm using XFCE
(in Vector 5.9 Gold) and doesn't installed full desktop gnome (only the necessary deppendecies to run firestarter). bigpaws
: I read the topic that you send, - it's helped a lot to understand the su, sudo and groups structures and uses. Thanks. But I still don't understand why my sudo
password is diferrent from my su
password - because this I added the line %admin ALL=NOPASSWD:ALL
to override the ask for a password by sudo - and strangelly
the sudo firestarter
begins to work... Maybe I miss something (not my root or user password, since I modified it (by VASM) to test if was some restrition for them (size,characters,etc) and no problems - except the problem for sudo password). There is something missing, I think. I will try more things later.
Anyway, thanks WCS and bigpaws for the repplies.