journalwatch config

This commit is contained in:
Daniel Langbein 2023-09-20 14:48:30 +02:00
parent 3d707b5503
commit c16f405149
Signed by: langfingaz
GPG Key ID: 6C47C753F0823002

View File

@ -117,7 +117,8 @@
{ # yodaTux. If the user `yoda` runs a command with `sudo`.
filters = ''
\s+yoda : TTY=pts/7 ; PWD=/.+ ; USER=root ; COMMAND=/.+
\s+yoda : TTY=pts/1 ; PWD=/\S+ ; USER=root ; COMMAND=/.+
\s+yoda : TTY=pts/7 ; PWD=/\S+ ; USER=root ; COMMAND=/.+
'';
match = "SYSLOG_IDENTIFIER = sudo";
}