Interview Prep/Linux/User Lifecycle, Auditing & Time Sync

What is auditd and what is it used for?

BeginnerProductionUser Lifecycle, Auditing & Time Sync
Answer

auditd is the userspace daemon for the kernel audit subsystem. It records security-relevant events (file access, syscalls, logins, privilege changes, SELinux denials) to /var/log/audit/audit.log according to rules. It is required by PCI-DSS, HIPAA, SOC 2 and CIS controls to answer "who did what, when" on a host.

sudo auditctl -s       # status
sudo auditctl -l       # loaded rules
All Linux questions Roadmap: Linux

More on User Lifecycle, Auditing & Time Sync