diff --git a/modules/journalwatch.nix b/modules/journalwatch.nix index 981b15d..87f2e21 100644 --- a/modules/journalwatch.nix +++ b/modules/journalwatch.nix @@ -124,8 +124,7 @@ { # yodaTux. If the user `yoda` runs a command with `sudo`. filters = '' - \s+yoda : TTY=pts/1 ; PWD=/\S+ ; USER=root ; COMMAND=/.+ - \s+yoda : TTY=pts/7 ; PWD=/\S+ ; USER=root ; COMMAND=/.+ + \s+yoda : TTY=pts/[0-9] ; PWD=/\S+ ; USER=root ; COMMAND=/.+ ''; match = "SYSLOG_IDENTIFIER = sudo"; }