Skip to main content

Thread: /etc/sudoers NOPASSWD not working


hi
visudoers following.
#cmnd alias specification
cmnd_alias storage = /sbin/fdisk, /bin/mount, /bin/umount

cmnd_alias software = /usr/bin/apt-get

# user privilege specification
root all=(all:all) all
adm all=(all) nopasswd: /usr/bin/virsh, /usr/bin/halt, software , storage
however, when login adm, , execute "sudo apt-get install firefox", still ask password.

please help

it works fine me.
did create 'adm' user id?

entire /etc/sudoers file?
ask since file interpreted "last match wins", if have additional lines, may applicable.


Forum The Ubuntu Forum Community Ubuntu Official Flavours Support General Help [SOLVED] /etc/sudoers NOPASSWD not working


Ubuntu

Comments

Popular posts from this blog

How to change text Component easybook reloaded *newbee* - Joomla! Forum - community, help and support

After Effect warning: A problem occurred when processing OpenGL commands

Preconditions Failed. - Joomla! Forum - community, help and support