Class 8 Lab 3 ‐ Linux Log Manipulation - Justin-Boyd/Ethical-Hacking-Class GitHub Wiki
Task 1
id
Task 2
cat /var/log/auth.log | grep student
Task 3
cat /var/log/auth.log | grep -v student > /home/student/tempFile
Task 4
mv /home/student/tempFile /var/log/auth.log
Task 5
cat /var/log/auth.log | grep student
Task 6
sed -i -e 's,1003,1000,g' -e 's,guest,kali,g' /var/log/auth.log