diff options
| author | Bruno Cesar Ribas <brunoribas@gmail.com> | 2018-09-13 02:00:27 +0000 |
|---|---|---|
| committer | Bruno Cesar Ribas <brunoribas@gmail.com> | 2018-09-13 02:00:27 +0000 |
| commit | 0fd36c0a540ecdbd4ee301655f42c763602425bc (patch) | |
| tree | 2c525da21c8303fd76363cc4a975252da2275d0a /tools | |
| parent | ee2a736ffd66d6043381fbf2da70840e2e54216c (diff) | |
| parent | 7318fd1a73fd80b34c79b7ed9152d0acb137cf00 (diff) | |
| download | boca-0fd36c0a540ecdbd4ee301655f42c763602425bc.tar.gz boca-0fd36c0a540ecdbd4ee301655f42c763602425bc.zip | |
Merge remote-tracking branch 'origin/develc' into devel
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 |