Assignment 8 -- Automated Log Files
This time around you will create 3 crontab entries to automate a log file generation sequence like you were monitoring server activity.
  • Create a log file that logs who is on your system once an hour
  • Create a log file that shows all processes spawned by your userid and run this script once a day
  • Change your PAM password file to include a minimum length of 10 characters. Create a log file that extracts just the line out of the PAM password configuration file that shows if your password length rule has been changed. Run this log once a week -- every Monday.
  • Run each script from the command line first to make sure the results are what you expect
  • Add the lines to cron using the crontab command
  • You should set up the hourly and daily events so you can verify that they work

Assignment Submission Criteria

To turn in this assignment you will go to the NSC Canvas shell for this class. Submit your scripts (if you use scripts), your crontab and your log files.