Linux incrond inotify: Monitor Directories For Changes And Take Action

Posted on in Categories last updated July 18, 2010

I want to copy (rsync to remote server) a directory tree whenever file uploaded or deleted in /var/www/html/upload/ directory under Linux operating systems for backup purpose and/or load balancing purpose without getting into complex file sharing setup such as NFS or GFS iscsi storage. How do I monitor /var/www/html/upload/ and its subdirectory for new files and executes rsync command to make copy back to

OpenBSD: Setup a Serial Console

Posted on in Categories last updated December 1, 2012

How do I enable console redirection under OpenBSD so that I can see my remote server boot information and any diagnostic information that is normally printed to the screen? I’ve already enabled serial ports in my server BIOS and wired them up. How do I configure and access OpenBSD UNIX x86/amd64 server over serial console?

Delete SSH Keys

Posted on in Categories last updated June 24, 2010

One my user leaves the office and I’d like to disable her access to our UNIX / Linux system. How do I delete ssh key from the UNIX systems so that user can not log in?