Renaming package to ShadowArch to follow /wiki/Design_Principles; improved packing; development sync to current state -- massive overhaul
This commit is contained in:
7
UserScripts/logged-shell
Executable file
7
UserScripts/logged-shell
Executable 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
|
Reference in New Issue
Block a user