After installing sudo in the system i am unable tu run sudo as a non-root user, when i try to execute any command i get:
/usr/local/bin/sudo: cannot execute
if i edit /etc/passwd to use a different shell i get:
/usr/local/bin/sudo: permission denied
the sudoers file seems to be correctly configured since the output of "sudo -l -U user" shows the user is able to execute only the commands i want it to use.
ls -l output is:
-rwsr-xr-x 1 root root 205396 Oct 8 2010 /usr/local/bin/sudo