[wicd] how to grant non-root users the wicd access ?

Greetings !!

I have wicd 1.6.1 (bzr-r426) and it is working very good with my root user but with all those which have not the root rights wicd asks for superuser password to connect. I want to avoid this pop-up window to be shown, how can I proceed ?

I first thought about the sid and gid but it seems that there is no improvements using chmod 4755 and 2755 on the different files involved in.

root     16749  0.1  0.7 229824 27092 ?        S    23:07   0:02 python -O /usr/lib/wicd/wicd-client.py
root     16796  0.4  0.2 110196 10576 ?        S    23:07   0:11 python -O /usr/lib/wicd/wicd-daemon.py
root     16802  0.1  0.2  83496  8608 ?        S    23:07   0:03 /usr/bin/python -O /usr/lib/wicd/monitor.py
root     16845  0.0  0.0  16608  1052 ?        Ss   23:07   0:00 wpa_supplicant -B -i wlan0 -c /var/lib/wicd/configurations/02aff7af75c1 -D wext

last changes with 4755 rights

-rwxr-xr-x 1 root root 1.8K Jun 21  2009 autoconnect.py
drwxr-xr-x 2 root root 4.0K Mar 15 02:15 backends
-rwxr-xr-x 1 root root 7.4K Jun 21  2009 configscript.py
-rwxr-xr-x 1 root root 5.5K Jun 21  2009 configscript_curses.py
-rw-r--r-- 1 root root  24K Jun 21  2009 curses_misc.py
-rw**s**r-xr-x 1 root root  13K Jun 21  2009 monitor.py
-rw-r--r-- 1 root root  18K Jun 21  2009 netentry_curses.py
-rw-r--r-- 1 root root  16K Jun 21  2009 prefs_curses.py
-rwxr-xr-x 1 root root 1.5K Jun 21  2009 suspend.py
-rw**s**r-xr-x 1 root root  31K Jun 21  2009 wicd-client.py
-rw**s**r-xr-x 1 root root  42K Jun 21  2009 wicd-curses.py
-rw**s**r-xr-x 1 root root  66K Jun 21  2009 wicd-daemon.py

do I need to create a special group called wicd (that will inherit root rights) and let all the users that need wicd to be within this special group ? And then chown root:wicd all the wicd related files once all set up ?

If someone got a good idea, thanx in advance ^^


This is a cut 'n paster from the WICD forum, in which I asked pretty much the same question, then answered it my self.

The problem is that the WICD daemon needs to start on boot. That’s why it always asks for a root password: to start the daemon.

In openSuse 11.2 using KDE 4.3.4.

A check of Yast runlevels indicates that wicd is starting in levels 2, 3 and 5, which seems right. There is also a B level, presumably boot, clicking on that, and hal and dbus, fixes the problem. Wicd now starts on boot.
So, Yast – System Services(Runlevel) – Expert Mode – Highlight WICD – click on B – accept popup re hal and dbus – reboot.

thank you I will try it…

wicd was working very good with the root user so I didn’t look in the chkconfig -l utility but yes the run-level 3 and 5 weren’t set up, maybe it will work better with those run-levels set up…