📝 Made note on auditd
This commit is contained in:
parent
1422f7b22e
commit
9deef6c924
1 changed files with 9 additions and 0 deletions
|
|
@ -47,6 +47,15 @@ doas ln -s /etc/runit/sv/auditd /run/runit/service/
|
||||||
|
|
||||||
doas sv start auditd
|
doas sv start auditd
|
||||||
|
|
||||||
|
Create an audit group, add $USER to it, and add audit group to /etc/audit/auditd.conf:
|
||||||
|
|
||||||
|
doas groupadd -r audit
|
||||||
|
doas gpasswd -a $USER audit
|
||||||
|
|
||||||
|
/etc/audit/auditd.conf
|
||||||
|
|
||||||
|
log_group = audit
|
||||||
|
|
||||||
In /etc/rc/apparmor.conf, uncomment enforce mode
|
In /etc/rc/apparmor.conf, uncomment enforce mode
|
||||||
|
|
||||||
In /etc/default/grub, rewrite the line at CMDLINE as such (be exact and careful here):
|
In /etc/default/grub, rewrite the line at CMDLINE as such (be exact and careful here):
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue