I'm writing this from the example on the sudo site but it doesn't work:
# This file MUST be edited with the 'visudo' command as root.
# See the man page for details on how to write a sudoers file.
# Host alias specification
# User alias specification
# Cmnd alias specification
# User privilege specification
root ALL=(ALL) ALL
philip qemu = (root) /usr/bin/qemu
The idea is that my account (philip) ca only run qemu as root. How would I change this cause I can't see how it's different except for some variables from this example:
dgb boulder = (operator) /bin/ls, /bin/kill, /usr/bin/lprm
Which should allow user dgb to run ls, kill and lprm as op.
When I run qemu with sudo as my user it says I'm not allowed to do so. Should I relogin before this works? Thanks in advance for the help!