I'm a newb to Linux, I'm taking a System Admin Class thats using Linux, and I'm not totally comfortable with it yet.
I need to enable a user, sorr, to run the /sbin/shutdown and /bin/kill commands with root privileges. What would I do from beginning to end to accomplish this goal?
I've already tried to use the visudo command to edit the sudoers file. I added sorr under the user specifications section.
sorr ALL= /sbin/shutdown, /bin/kill NOPASSWD: ALL
For some reason I can't execute the shutdown command.
sorr: you must be root to use this!
Thanks,