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