Category: Linux

Shell Script to Locate and Check the Version of all Java Binaries

Rather your public or private industry at some point your system will be audited. As part of this audit there may include a search for old versions of Java that have not been patched. Even though you may patch your OS consistently often COTS software such at Symantec NetBackup, Oracle and so on will install…


Script to Find World Writable Files

Notes Script works on all Linux operating systems In the middle of the while loop you can add something like chmod o-w ${file} to remove the world writable flag


Shell Script for Backing Up All Ownership and Permissions

Purpose There will come a day where someone will accidentally run an chmod or chown on / or some other directory and change all ownership and/or permissions on all files under that directory. Having this script run periodically will save you ass. Notes The script already excludes the basic filesystems you wouldn’t want to scan…


Tarsnap Backup Shell Script

This is a Tarsnap backup script that allows the user to fill in all include, exclude and backup options and the script will generate and run the tarsnap command. The script also generates a backup log which will be emailed to the specified recipients. Requirements Tarsnap account For email to function some type of MTA…