I completed the following objectives:
In this task, I used common Linux tools to review the secure log files and used the lastlog Linux application to review the previous logins.
To validate that I was in the companyA home folder, I entered:
Then pressed Enter. If I wasn't in this folder, I would need to enter:
To use the secure log file as a test, I entered:
And pressed Enter. The output showed a list of errors and failures including the following information: where the user was trying to access from (IP address), if they failed authentication, and which port.
To exit the program, I entered:
To view the last login times of all the users on the machine, I entered:
And pressed Enter. The output displayed examples of the users who last logged in were: root which shows as never logged in, bin never logged in, and daemon never logged in, etc.
What information can I extract for some of my business purposes?
From these log files, I can extract valuable information such as: