easoukenka
September 16th, 2009, 12:47 AM
For some reason my ability to sudo without password for some commands has quit working. It appears to be after the update last night that had me reboot but I am not certain.
Thank you in advance for any assistance.
root@asoukenka:/home/asoukenka# visudo
# /etc/sudoers
#
# This file MUST be edited with the 'visudo' command as root.
#
# See the man page for details on how to write a sudoers file.
#
Defaults env_reset
# Host alias specification
# User alias specification
# Cmnd alias specification
# User privilege specification
root ALL=(ALL) ALL
# Uncomment to allow members of group sudo to not need a password
# (Note that later entries override this, so you might need to move
# it further down)
# %sudo ALL=NOPASSWD: ALL
%admin ALL=(ALL) ALL
#asoukenka ALL=NOPASSWD: /usr/sbin/bandwidthd, /sbin/swapoff, /sbin/swapon
asoukenka ALL=(ALL) ALL
# Members of the admin group may gain root privileges
%admin ALL=(ALL) ALL
asoukenka@asoukenka:~$ sudo /usr/sbin/bandwidthd
[sudo] password for asoukenka:
Thank you in advance for any assistance.
root@asoukenka:/home/asoukenka# visudo
# /etc/sudoers
#
# This file MUST be edited with the 'visudo' command as root.
#
# See the man page for details on how to write a sudoers file.
#
Defaults env_reset
# Host alias specification
# User alias specification
# Cmnd alias specification
# User privilege specification
root ALL=(ALL) ALL
# Uncomment to allow members of group sudo to not need a password
# (Note that later entries override this, so you might need to move
# it further down)
# %sudo ALL=NOPASSWD: ALL
%admin ALL=(ALL) ALL
#asoukenka ALL=NOPASSWD: /usr/sbin/bandwidthd, /sbin/swapoff, /sbin/swapon
asoukenka ALL=(ALL) ALL
# Members of the admin group may gain root privileges
%admin ALL=(ALL) ALL
asoukenka@asoukenka:~$ sudo /usr/sbin/bandwidthd
[sudo] password for asoukenka: