You are not logged in.

#1 2009-09-01 08:08:21

Draetheus
Member
Registered: 2009-09-01
Posts: 7

netcfgGUI needs root privileges

I successfully built and installed the netcfgGUI package from the AUR, however, the scripts it runs upon startup require root privileges.  Naturally I'd rather not run the program as root.  Some research lead me to believe I needed to change something in my sudoers file?  I'm not exactly sure what to put in there.  I changed it so that no password is prompted for anything sudoed in my username, but that didn't seem to help.

Thanks in advance.

Offline

#2 2009-09-01 08:45:22

Nagian
Member
From: Altach, Austria
Registered: 2009-08-03
Posts: 70

Re: netcfgGUI needs root privileges

Have you already read http://wiki.archlinux.org/index.php/Sudo?

If yes, and it won't work at all, it would be useful if you show the content of the sudoers-file wink

Offline

#3 2009-09-01 08:46:57

jelly
Administrator
From: /dev/null
Registered: 2008-06-10
Posts: 714

Re: netcfgGUI needs root privileges

sudo visudo and edit that file , check what the executable is .

Do somethign like:

%users  localhost=/path/to/exec

Offline

#4 2009-09-01 18:06:22

Draetheus
Member
Registered: 2009-09-01
Posts: 7

Re: netcfgGUI needs root privileges

Nope, netcfg and its associated scripts still fail within the program.  Here's my sudoers file (the portion I've edited):

# User privilege specification
root    ALL=(ALL) ALL
draetheus       ALL=(ALL) NOPASSWD: ALL

# Uncomment to allow people in group wheel to run all commands
# %wheel        ALL=(ALL) ALL

# Same thing without a password
# %wheel        ALL=(ALL) NOPASSWD: ALL

# Samples
# %users  ALL=/sbin/mount /cdrom,/sbin/umount /cdrom
# %users  localhost=/sbin/shutdown -h now
%users localhost=/usr/bin/netcfgGUI
%users localhost=/usr/bin/netcfg
%users localhost=/usr/bin/netcfg2
%users localhost=/usr/bin/netcfg-auto-wireless

Offline

Board footer

Powered by FluxBB