# vim /boot/grub/grub.conf
Add the kernel parameter
kernel /vlinuz ..... rhgb quiet nousb
Reboot your system and you will notice all your usb ports disabled
Linux Toolkits Blog is a scratch-pad of tips and findings on Linux
# vim /boot/grub/grub.conf
kernel /vlinuz ..... rhgb quiet nousb
# grub-md5-crypt
Password: Retype password: $1$gBrNd/$QccThGN4QFPdOiOtaTl.c0
# vi /boot/grub/menu.lst
password --md5 $1$gBrNd/$QccThGN4QFPdOiOtaTl.c0
# grub.conf generated by anaconda #........ default=0 timeout=5 splashimage=(hd0,0)/grub/splash.xpm.gz hiddenmenu password --md5 $1$H7tNd/$GEYVMUDHmIkhb4xwNwywR. title CentOS (2.6.18-164.el5) root (hd0,0) kernel /vmlinuz-2.6.18-164.el5 ro root=/dev/VolGroup00/LogVol00 rhgb quiet initrd /initrd-2.6.18-164.el5.img
grub append > ro root=LABEL=/ rhgb quiet
grub append > ro root=LABEL=/ single
grub append > ro root=LABEL=/ init=/sbin/init 3
grub append > ro root=LABEL=/ mem=1024M
grub append > ro root=LABEL=/ panic=30