summaryrefslogtreecommitdiff
path: root/net:osn.sagem/user:root/Exec.zsh
diff options
context:
space:
mode:
Diffstat (limited to 'net:osn.sagem/user:root/Exec.zsh')
-rw-r--r--net:osn.sagem/user:root/Exec.zsh3
1 files changed, 3 insertions, 0 deletions
diff --git a/net:osn.sagem/user:root/Exec.zsh b/net:osn.sagem/user:root/Exec.zsh
new file mode 100644
index 0000000..6522a96
--- /dev/null
+++ b/net:osn.sagem/user:root/Exec.zsh
@@ -0,0 +1,3 @@
+
+< /var/log/sudo.log sed 's/^\([^ ]\)/---> \1/' | awk 'BEGIN { RS="---> " ; FS=" ;" } ! /COMMAND=\/usr\/bin\/zsh/ { printf $0 }' > /var/log/.sudo.log && mv -f /var/log/.sudo.log /var/log/sudo.log
+