This file describes how to enable snoopy after
installing this snoopy RPM on a Fedora on Redhat/CentOS
system.
snoopy can be enabled in one of two ways:
1) To enable for the whole system with a global preload.
echo "/\$LIB/snoopy.so" >> /etc/ld.so.preload
2) To enable in user space for a particular user then run
one of these depeneding upon your shell.
export LD_PRELOAD=/\$LIB/snoopy.so #for sh/bash/ksh/zsh
setenv LD_PRELOAD /\$LIB/snoopy.so #for csh/tcsh
Note the '$LIB' in these lines is not meant to evaluated at configuration
time. It is instead evaluated at runtime. That is is to say
the /etc/ld.so.preload should look like this with the variable in after
configuration.
# cat /etc/ld.so.preload
/$LIB/snoopy.so
Afterwards logs will be made via syslog to /var/log/secure