Adding Admin and Shared scripts

This commit is contained in:
DarkFeather
2016-11-09 22:25:00 -06:00
parent 5ea18518ef
commit ce8320ce2e
20 changed files with 211 additions and 0 deletions

7
Shared/logged-shell Executable file
View File

@@ -0,0 +1,7 @@
#!/bin/bash
export SHELL=/bin/bash
export LOGFILE="/var/log/guest_log/$(/usr/bin/whoami)-$(date +%F-%R).log"
env > $LOGFILE
exec /bin/sh -c "script -a -q -f $LOGFILE"
#/bin/bash -c "echo /usr/bin/logged-shell"
exit