#70: "audit_log_user_command(): Connection refused" when using sudo in CentOS 5
Solved!
On every invocation of sudo in CentOS 5.3, whether successful or not, there is an echo to terminal of:
audit_log_user_command(): Connection refused
This does not appear to affect any serious functionality, but is incredibly annoying.
#62: Share SSHFS via Samba
Fuse doesn't allow other users to access mounted directories, in order to get it working with samba and the security=user model you need to pass 'allow_other' to the call of sshfs:
mount -t smbfs -o username=<user>,password=<passwd> //<server...
#51: Broken shell command substitution in crontab
Solved!
In a cronjob, I want to execute a date sub-command and substitute the results in place into the overall shell command. Something like:
1 5 * * * bash -c 'cp /foo/bar /foo/bar.$(date +%Y%m%d).sql'
Unfortunately, this breaks with an error at runtime:
/bin...