From 4fff665ad3f42de950dd38d5863093bff3dc26df Mon Sep 17 00:00:00 2001 From: Marc Schoechlin Date: Wed, 25 Sep 2013 15:03:42 +0200 Subject: [PATCH] Bugfix, does not log sometimes --- helpers/auditshell | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/helpers/auditshell b/helpers/auditshell index 80698da..89e49f9 100755 --- a/helpers/auditshell +++ b/helpers/auditshell @@ -2,7 +2,6 @@ IDENT="`date --date="today" "+%Y-%m-%d_%H-%M-%S"`.`whoami`.$$" - # This is a file transfer, no audit shell neccessary if (echo "$@"|egrep -q ".*scp.*");then exec /bin/sh "$@" @@ -27,6 +26,6 @@ AUDIT KEY: $IDENT EOF -exec /usr/local/bin/script -d -e -f -q -t 5 \ +/usr/local/bin/script -d -e -f -q -t 5 \ 5> >(base64|logger -t $TYPESCRIPT) \ 2> >(base64|logger -t $TIMING)