Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I set up a rackspace cloud server awhile back to host a website and I'm contemplating setting up a site or two there. I noticed that rkhunter is sending emails to root@mydomain.com which gets delivered locally and is filling up the limited storage on this machine.
First, the email is complaining about a few things. Do these problems look serious? Wondering if machine might be compromised or whether these are fine and easily fixed:
Code:
Warning: The file properties have changed:
File: /usr/bin/awk
Current hash: c7a7da74a87602ded1bff67da0a33eb29a7b42c5
Stored hash : 6ef52de269564cb384eaf63e2ee5f4181f715cbb
Warning: The file '/usr/bin/GET' exists on the system, but it is not present in the rkhunter.dat file.
Warning: The file '/usr/bin/gawk' exists on the system, but it is not present in the rkhunter.dat file.
Warning: The file '/usr/bin/lwp-request' exists on the system, but it is not present in the rkhunter.dat file.
Warning: The file '/usr/sbin/unhide' exists on the system, but it is not present in the rkhunter.dat file.
Warning: The file '/usr/sbin/unhide-linux26' exists on the system, but it is not present in the rkhunter.dat file.
Warning: The SSH and rkhunter configuration options should be the same:
SSH configuration option 'PermitRootLogin': yes
Rkhunter configuration option 'ALLOW_SSH_ROOT_USER': no
Warning: Suspicious file types found in /dev:
/dev/shm/network/ifstate: ASCII text
Warning: Application 'gpg', version '1.4.9', is out of date, and possibly a security risk.
Warning: Application 'openssl', version '0.9.8g', is out of date, and possibly a security risk.
Warning: Application 'php', version '5.2.6', is out of date, and possibly a security risk.
Warning: Application 'sshd', version '5.1p1', is out of date, and possibly a security risk.
One or more warnings have been found while checking the system.
Please check the log file (/var/log/rkhunter.log)
Also, is there any sure-fire way to route all mail to be delivered locally to some other address? The machine is running Debian 5 and appears to be running postfix.
First, the email is complaining about a few things. Do these problems look serious? Wondering if machine might be compromised or whether these are fine and easily fixed:
Most of them are normal warnings. You should run
Code:
rkhunter --propupd
to update rkhunter database, so it stops complaining about file not being in the database. And maybe update the programs mentioned in the log file. The only thing that you may investigate further is the file /dev/shm/network/ifstate
Quote:
Also, is there any sure-fire way to route all mail to be delivered locally to some other address? The machine is running Debian 5 and appears to be running postfix.
Edit rkhunter.conf and change MAIL-ON-WARNING accordingly.
I have run rkhunter --propupd and I have updated MAIL-ON-WARNING. We'll see what warnings may linger. Am I correct in thinking that rkhunter runs as cron so I don't have to restart anything?
Also, my question about re-routing emails to route was not just about rkhunter emails but about any email at all that might get sent to the root mailbox. I'd like to redirect all of this stuff. Thoughts?
As for /dev/shm/network/ifstate, it is a file containing this:
Am I correct in thinking that rkhunter runs as cron so I don't have to restart anything?
Correct
Quote:
Also, my question about re-routing emails to route was not just about rkhunter emails but about any email at all that might get sent to the root mailbox. I'd like to redirect all of this stuff. Thoughts?
You can create an alias for the root account to some other mail account
Quote:
That looks pretty innocuous to me, but I have no idea what is supposed to be in this file.
I agree. You may take a look here if you want to stop rkhunter from complaining
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.