system

Eye on your System

Here is a little script sent to use. While it doesn’t cover everything to watch for on a system, it covers some of the basics. Use the following simple script to check for security problems on…


Who Sent Me Mail?

To know who all have sent you mail. —————CUT HERE ———- #!/bin/sh : ${USER:=`expr “\`LANG=C id\`” : ‘uid=[0-9]*(\([^)]*\).*’`} for MBox in /var/mail/$USER /usr/spool/mail/$USER “” do [ -r “$MBox” ] && break done [ -z “$MBox” ]…


File System Capacity Alert script

#!/bin/sh # This script can be used to # warn the users that # the file system is getting full # # Script needs adjusted for your # needs. Below is set to monitor #…


How to patch Red Hat systems against SambaCry

A vulnerability involving a Linux package called Samba is making the rounds, and in the spirit of the Windows-based exploit known as WannaCry, this one is called SambaCry. Red Hat Enterprise Linux systems from version…



Linux filesystem hierarchy

The Filesystem Hierarchy Standard (FHS) defines the directory structure and directory contents in Unix-like operating systems. It is maintained by the Linux Foundation. The latest version is 3.0, released on 3 June 2015. Currently it…


File System Capacity Alert script

#!/bin/sh # This script can be used to # warn the users that # the file system is getting full # # Script needs adjusted for your # needs. Below is set to monitor #…