Thread: /etc/sudoers NOPASSWD not working
hi
visudoers following.
however, when login adm, , execute "sudo apt-get install firefox", still ask password.#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
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
Post a Comment