Question: Install auditd using the apt package manager. Verify the auditd service using the systemctl command. Configure the / etc / audit / auditd . conf
Install auditd using the apt package manager.
Verify the auditd service using the systemctl command.
Configure the etcauditauditdconf file with the following parameters using sudo:
Log file location is varlogauditauditlog
Number of retained logs is
Maximum log file size is
Check to make sure there are no existing rules.
Create a rule that will monitor etcpasswd and etcshadow for any changes.
Restart the auditd daemon.
Check to verify the new rules have taken place.
Add a new rule to audit the usr directory.
Verify the new rule by listing auditcl rules.
Perform a search in the authentication report for user authentication attempts.
Make sure to disable your current sudo access with sudo k This option revokes your current sudo session, requiring you to have to enter your password on your next sudo command.
Perform a sudo su three times using the wrong password, then run the same report again.
Create a new user, criminal, then perform a search for account modifications.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
