Now that we've seen how the audit resource works on files, it's time to perform an example. Building on our last exercise, we will audit the password file and see the results.
The following steps need to be performed to audit the password file:
If you're following along from the last example, go ahead and start the virtual machine with the following command:
vagrant up
Once the system is up, go ahead and SSH into it using the following command:
vagrant ssh
You should now be logged in to the system.