From 971e8c59d7313b4e0f08c7e6d2bb1960cd18de52 Mon Sep 17 00:00:00 2001 From: Marc Schoechlin Date: Tue, 9 Jul 2013 10:34:10 +0200 Subject: [PATCH] Config file --- helpers/etc-recordshell | 7 +++++++ recordshell => helpers/recordshell | 0 2 files changed, 7 insertions(+) create mode 100644 helpers/etc-recordshell rename recordshell => helpers/recordshell (100%) diff --git a/helpers/etc-recordshell b/helpers/etc-recordshell new file mode 100644 index 0000000..528d78e --- /dev/null +++ b/helpers/etc-recordshell @@ -0,0 +1,7 @@ +# copy me to /etc/recordshell + +LOGDIR="/var/log/recordshell" +LOGGING_PID="$$" +FILEPREFIX="$LOGDIR/$(date '+%Y-%m-%d')/$(date '+%Y-%m-%d_%H-%M-%S')-$LOGGING_PID"; +EXTRA_ARGS="-c 'su -c /bin/bash $SUDO_USER'" + diff --git a/recordshell b/helpers/recordshell similarity index 100% rename from recordshell rename to helpers/recordshell