All posts for the month January, 2010

RKHunter Configuration Guide

Published January 23, 2010 by Siva

Rkhunter is a very useful tool that is used to check for trojans, rootkits, and other security problems. This tutorial will touch on installing and setting up a daily report for rkhunter.



tar -zxvf rkhunter-1.2.7.tar.gz
cd rkhunter-1.2.7
./ –layout /usr/local/rkhunter –install

Updating rkhunter

gets the latest database updates from their central server and matches your OS better to prevent false positives

rkhunter –update

Now you can run a test scan with the following command:

/usr/local/bin/rkhunter -c

How to setup a daily scan report?

vim /etc/cron.daily/

add the following replacing your email address:

/usr/local/bin/rkhunter –cronjob –rwo –nocolors | mail -s “Rkhunter daily run on `uname -n`”
exit 0

chmod +x /etc/cron.daily/

Dump just the table structure to a file in MySQL

Published January 13, 2010 by Siva

We will use the mysqldump utility the same as if we were backing upo the entire database


mysqldump -d -h localhost -u root -p databasename > dumpfile.sql

The only option that is different than creating an entire backup is the -d switch, which tells mysqldump not to output the data.


mysqldump -d -h localhost -u root -p sampledatabase  > dumpfile.sql

Multiple log in in yahoo Without Using any Software

Published January 10, 2010 by Siva
Multiple log in in yahoo Without Using any Software You can log in with multiple id’s on the same yahoo messenger without
any download or patch .

1.Go to Start —-> Run . Type regedit, then enter.
2.Navigate to HKEY_CURRENT_USER ——–> Software —>yahoo —–>pager—->Test
3.On the right pane , right-click and choose new Dword value .
4.Rename it as Plural.
5.Double click and assign a decimal value of 1.
That’s it done!!
Now close registry and restart yahoo messenger .For signing in with new id open another messenger.