Shell Assignment #2
Write a script that looks for files that should not be in user accounts.
All of these files listed below are a waste of space or a security
hole.
Your program should print out a list of such files. The system administrator's
job is to look over the list and fix anything.
Your program should only search files in /home and in /staff. It should
not search for files in /.
You should find ...
- Files not read in over one year.
- Files over 10M.
- .bashrc and .profile files that are world or group writeable
You get one point for each catagory of files you can find. There are
a total of 3 points to be had.