You are not logged in.
Pages: 1
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
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
Offline
sudo visudo and edit that file , check what the executable is .
Do somethign like:
%users localhost=/path/to/exec
Offline
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
Pages: 1