linux pam audit
Hi all,
Is it possible to redirect the log messages of a certain PAM Service into a special file.
I have for example a PAM service "cdsrv" whose messages are all going to /var/log/messages. But i want all the messages of the PAM service "cdsrv" (and only these) in a file /var/log/cdsrv.log.
Is that possible, some magic with /etc/syslog.conf maybe?
Thanks in advance,
tom
Quoted 2 lines · On Wednesday 22 August 2007 02:26:55 Thomas Wang wrote:
Is it possible to redirect the log messages of a certain PAM Service into a special file.
If you are not running the audit daemon and you are running rsyslog, you should be able to use regular expressions to match messages and send them to a file of your choice.
-Steve