Browse Source

Bugfix, does not log sometimes

pull/1/head
Marc Schoechlin 12 years ago
parent
commit
4fff665ad3
1 changed files with 1 additions and 2 deletions
  1. +1
    -2
      helpers/auditshell

+ 1
- 2
helpers/auditshell View File

@ -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)

Loading…
Cancel
Save