February 2020
Intermediate to advanced
666 pages
15h 45m
English
In this lab, you'll practice using the features of auditd. Let's get started:
sudo apt updatesudo apt install auditd
sudo auditctl -l
sudo auditctl -w /etc/passwd -p wa -k passwd_changessudo auditctl -l
Create a user account for Lionel. On Ubuntu, do the following:
sudo adduser lionel
On CentOS, do the following:
sudo useradd lionelsudo passwd lionel
sudo ausearch -i -k passwd_changessudo aureport -i -k | grep 'passwd_changes'