Say I have 2 users - 'alice' and 'bob' and want to allow 'alice' to run any command as root, but not run commands as 'bob' or any other user, am I able to do this, and if so how ?
consider this example that allows james to run any command as alice
james ALL=(alice) ALL
or this example that allows fred to run the ls command as root
fred ALL=(root) /bin/ls
I suspect it has something to do with modifications to /etc/sudoers, along the lines of
alice ALL=(root) ALL ?