when i run a command with sudo will appear this error message.
root is not in the sudoers file. This incident will be reported.
i tried to edit sudoers file but inside only this few option, any 1 can teach me how to solve this problem ?
Host_Alias NODE = SVR1
User_Alias AUTHORIZEDUSER = jboss
Cmnd_Alias CMD1 = /root/un-mount.sh
AUTHORIZEDUSER NODE = NOPASSWD: CMD1
Unable run SUDO command
-
- Posts: 10642
- Joined: 2005/08/05 15:19:54
- Location: Northern Illinois, USA
Re: Unable run SUDO command
Root does not need to run sudo.