- Member since:
- April 20, 2012
- Total points:
- 105 (Level 1)
Can someone help me in writing a script for my System Administration class?
)Inactive accounts on a network waste disk space and may become a security risk.
Write an administrative script (to be invoked by root or the cron daemon) that checks for and generates a list of user accounts that have not been accessed within the last 60 days.
2)Write a script for a mult- user system that checks users' disk usage. If a user surpasses the preset limit (100 MB, for example) in him/her /home/username directory, then the script will automatically send him/her a warning e-mail.
The script will use the du and mail commands.
Sign in to Vote for the Best Answer
Do your homework. I know you go to UB ryt? lol.
None of these answers doing it for you?
Sometimes none of the answers get it just right. If so, pick "No Best Answer". Voters DO NOT get any points for voting on the No Best Answer.