Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

last command to syslogd

1 view
Skip to first unread message

Riccardo

unread,
Nov 16, 2009, 2:20:19 AM11/16/09
to
How can I send output of "last" command to syslogd in real time ?
Every time login event occurs I need syslogd receives information.
I'd like using "last | logger" but it's not an istruction which runs
process in background !

Florian Diesch

unread,
Nov 16, 2009, 4:01:45 AM11/16/09
to
Riccardo <ric.cas...@alice.it> writes:

> How can I send output of "last" command to syslogd in real time ?
> Every time login event occurs I need syslogd receives information.

Depending on what information you need pam_warn does the trick


Florian
--
<http://www.florian-diesch.de/software/shell-scripts/>

0 new messages