I have a very clean brand new install of CentOS 5.3 running on a vps hosted by linode. After installing the new OS, I did a yum update to apply recent patches. I then did yum install sudo to install sudo (I was surprised it was not installed by default). I edited the sudoers file, and all went well. I log in via ssh as a regular user and use sudo whenever I need to do something that requires root privileges, I think that this is a good practice because it makes me aware that I should be a bit extra cautious when issuing these commands. The problem is whenever I issue a sudo command I get an error message:
audit_log_user_command(): Connection refused
the command is executed, but no record of the command is logged as evidenced by:
grep sudo /var/log/messages
returns only one line referencing the yum install.