public inbox for linux-audit@redhat.com
 help / color / mirror / Atom feed
* linux pam audit
@ 2007-08-22  6:26 Thomas Wang
  2007-08-22 23:45 ` Steve Grubb
  0 siblings, 1 reply; 2+ messages in thread
From: Thomas Wang @ 2007-08-22  6:26 UTC (permalink / raw)
  To: linux-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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: linux pam audit
  2007-08-22  6:26 linux pam audit Thomas Wang
@ 2007-08-22 23:45 ` Steve Grubb
  0 siblings, 0 replies; 2+ messages in thread
From: Steve Grubb @ 2007-08-22 23:45 UTC (permalink / raw)
  To: linux-audit

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-08-22 23:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-08-22  6:26 linux pam audit Thomas Wang
2007-08-22 23:45 ` Steve Grubb

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox