I was trying to set it up so that I could have certain commands run as root without a password by certain users. I read that I should edit the sudoers file but what I'm doing doesn't seem to be working. I tried editing it with visudo to addHowever, when I run the commandCode:rhol ALL=(ALL) NOPASSWD:/usr/bin/updateit lets me run every command and program as root without prompting for a password. I just want that one command to run. Can someone please explain what I'm doing wrong. Thanks in advance.Code:sudo -u root -H /usr/bin/update
Bookmarks