Unable run SUDO command

General support questions including new installations
Post Reply
lokewing
Posts: 1
Joined: 2015/10/12 08:40:06

Unable run SUDO command

Post by lokewing » 2015/10/12 08:44:36

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

gerald_clark
Posts: 10642
Joined: 2005/08/05 15:19:54
Location: Northern Illinois, USA

Re: Unable run SUDO command

Post by gerald_clark » 2015/10/12 13:11:50

Root does not need to run sudo.

Post Reply