|
| From: | Wladislav Wiebe |
| Subject: | Re: No logging when SSH with SYSLOG_HISTORY |
| Date: | Tue, 25 Nov 2014 12:22:41 +0100 |
| User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.0 |
got it - just created a new rule in rsyslogd :
if $syslogtag startswith '-bash' then {
:omfile:$bash;format
stop
}
so no issue anymore.
Thanks!
--
WBR, Wladislav Wiebe
On 24.11.2014 15:43, Wladislav Wiebe wrote:
Hi! for some reason is this bash logging feature only working when the bash is a "bash", but in case it is a "-bash" it doesn't start logging. Means, a simple use case: ssh user@somemachine $ echo $0 -bash (no bash logging so far) when typing "bash" $ bash $ echo $0 bash --> now logging works. Any reason why it doesn't start logging directly? Or an idea how I can fix this? Thanks a lot in advance! -- WBR, Wladislav Wiebe
| [Prev in Thread] | Current Thread | [Next in Thread] |