Centralized SSH Keys

There are times when it is beneficial to take control of SSH key management on a server. This brief tutorial will centralize all user SSH keys to a single location and allow root to manage them. We will be keeping all keys in a single directory located in /etc/ssh/authorized_keys. Within the directory, there will be…

Disable USB storage support in RHEL 5

To easily disable USB storage device support in RHEL 5 just add the following line to /etc/modprobe.conf: install usb-storage : This will prevent modprobe from loading the usb-storage module, but will allow administrators to manually load the module with insmod when needed. If you will never need USB support you can simply remove the USB…

Disable CD/DVD access for normal users.

I just set up some workstations that I was required to disable CDROM access for normal users, but retain it for root. The easiest way, with the least amount of impact, is to disable GNOME’s automounting from the gnome-volume-manager program. This program mounts devices and removable media (DVDs, CDs and USB flash drives) when they…