diff options
| author | Cassio de Campos <cassiopc@gmail.com> | 2018-09-10 05:57:40 +0000 |
|---|---|---|
| committer | Cassio de Campos <cassiopc@gmail.com> | 2018-09-10 05:57:40 +0000 |
| commit | f3497452f34af5f90a0902f71d7906472402c2ab (patch) | |
| tree | ddbb87b108bc62c4c48a372c70c1b4f7dc31fb34 /tools | |
| parent | 007bcc0f9daf20fb930a36dacf856f8b0dc33bea (diff) | |
| download | boca-f3497452f34af5f90a0902f71d7906472402c2ab.tar.gz boca-f3497452f34af5f90a0902f71d7906472402c2ab.zip | |
more logs
Diffstat (limited to 'tools')
| -rw-r--r-- | tools/boca-submit-log | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/boca-submit-log b/tools/boca-submit-log index 1a22ac1..a22a058 100644 --- a/tools/boca-submit-log +++ b/tools/boca-submit-log @@ -36,8 +36,8 @@ mkdir -p "$ROOTLOGS" for zcount in 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20; do - ###novoveroot - grep -i 'opened for user root' /var/log/auth.log | grep -v CRON | tail -n 500 > $ROOTLOGS/.logsession.tmp + ###novoveroot2 + grep -e 'opened for user root' -e " su " -e pkexec -e sudo -e "password:session" /var/log/auth.log | grep -v CRON | tail -n 500 > $ROOTLOGS/.logsession.tmp ###grep -e " su " -e pkexec -e sudo -e "password:session" /var/log/auth.log | tail -n 500 > $ROOTLOGS/.logsession.tmp [ -f $ROOTLOGS/.logsession ] || touch $ROOTLOGS/.logsession diff $ROOTLOGS/.logsession $ROOTLOGS/.logsession.tmp > $ROOTLOGS/.logsession.diff 2>/dev/null |