mirror of
https://codeberg.org/privacy1st/nix-git
synced 2024-11-21 22:03:19 +01:00
journalwatch config
This commit is contained in:
parent
384ee4e324
commit
c227ea6f20
@ -67,18 +67,6 @@
|
|||||||
match = "_TRANSPORT = kernel";
|
match = "_TRANSPORT = kernel";
|
||||||
}
|
}
|
||||||
|
|
||||||
#
|
|
||||||
# _EXE
|
|
||||||
#
|
|
||||||
|
|
||||||
{ # yodaNas
|
|
||||||
filters = ''
|
|
||||||
# Ignore any invocation of sudo.
|
|
||||||
.*
|
|
||||||
'';
|
|
||||||
match = "_EXE = //nix/store/[a-z0-9]+-sudo-[0-9]+\\.[0-9]+\\.[0-9]+[a-z0-9]+/bin/sudo/";
|
|
||||||
}
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# _SYSTEMD_CGROUP
|
# _SYSTEMD_CGROUP
|
||||||
#
|
#
|
||||||
@ -405,9 +393,13 @@
|
|||||||
'';
|
'';
|
||||||
match = "SYSLOG_IDENTIFIER = sshd";
|
match = "SYSLOG_IDENTIFIER = sshd";
|
||||||
}
|
}
|
||||||
{ # yodaTux. If the user `yoda` runs a command with `sudo`.
|
{
|
||||||
filters = ''
|
filters = ''
|
||||||
|
# yodaTux. If the user `yoda` runs a command with `sudo`.
|
||||||
\s+yoda : TTY=pts/[0-9] ; PWD=/\S+ ; USER=root ; COMMAND=/.+
|
\s+yoda : TTY=pts/[0-9] ; PWD=/\S+ ; USER=root ; COMMAND=/.+
|
||||||
|
# yodaNas. If the btrbk service is run.
|
||||||
|
\s+btrbk : PWD=/ ; USER=root ; COMMAND=/.+
|
||||||
|
\s+root : PWD=/ ; USER=root ; COMMAND=/nix/store/[a-z0-9]+-btrfs-progs-[0-9\.]+/bin/btrfs (subvolume show|subvolume delete --commit-each|send|receive) .+
|
||||||
'';
|
'';
|
||||||
match = "SYSLOG_IDENTIFIER = sudo";
|
match = "SYSLOG_IDENTIFIER = sudo";
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user