[sudo-users] sudoers config issues

Stanley, Jon Jon.Stanley at savvis.net
Tue Nov 28 08:52:06 EST 2006


>bash-2.03$ sudo /opt/image/informix/informix/bin/onstat -l
>Password:
>Sorry, user user2 is not allowed to execute 
>'/opt/image/informix/informix/bin/onstat -l' as root on server1.
>bash-2.03$
>

The problem is that you're attempting to run the commands as root,
rather than informix.  Use 'sudo -u informix
/opt/image/informix/informix/bin/onstat -l' instead and you should be
good.





More information about the sudo-users mailing list