I want to allow the johnuser sudo access for just the ufw command. Is this the appropriate statement to write into /etc/sudoers ?
johnuser ALL=(ALL) /bin/ufw
I'd try this right away only I don't have access to the server. I'm instructing someone else how to do it via email. One thing hte other person said is that /bin/ufw doesn't exist. If that's the case, will that be a problem? Or how do you determine where ufw is?