| Mobile | RSS

Linux security

How to set password for GRUB

Login as root user Enter grub mode: # grub Use md5crypt to encrypt password: grub> md5crypt Password: ****** Encrypted: $1$jxcdN0$hVHViq1aiPf8FziuGJGZp0 Copy encrypted password Exit grub mode: grub> quit Modify file /boot/grub/grub.conf: vi /boot/grub/grub.conf Insert this line after splashimage  “password –md5 $1$jxcdN0$hVHViq1aiPf8FziuGJGZp0″ splashimage=(hd0,0)/boot/grub/splash.xpm.gz password –md5 $1$jxcdN0$hVHViq1aiPf8FziuGJGZp0 then save& exit /boot/grub/grub.conf Incoming search terms:grub set password= (1)

[ More ] June 29th, 2011 | No Comments | Posted in Linux Security |
monitor external traffic in Linux

Monitoring external access to your system

login as root and execute the following command #watch lsof -i To list all open Internet files, use: #lsof -i -U You can also get very specific about ports. Do this as root for low ports. #lsof -i TCP:3306 Or, look at UDP ports as follows: #lsof -i UDP:1812 Also try fuser. Suppose you have [...]

Related Posts Plugin for WordPress, Blogger...
[ More ] June 23rd, 2011 | No Comments | Posted in Linux Security, OS Internals |