E-mail Alert on Root SSH Login

Want to be notified instantly when someone logs into your server as root?

No problem, check out this nice tutorial on email notification for root logins. Keeping track of who logs into your server and when is very important, especially when you’re dealing with the super user account. We recommend that you use an email address not hosted on the server your sending the alert from

Continue reading E-mail Alert on Root SSH Login

Turbo charging MySQL by setting up the query cache

To make sure MySQL uses the query cache, there are a few variables you need to set in the configuration file . Usually its my.cnf or my.ini so check on your server with the shell command locate , in our case we are running on a CentOS 5.2  distro and to its my.cnf located in /etc so we opened it by using :   nano /etc/my.cnf

Continue reading Turbo charging MySQL by setting up the query cache

Linux Cron Jobs Explained

Cron allows users to automate repetitive system administration tasks such as tape backups, database reorganization, and general file cleanups (such as emptying log files and queues).

The Crontab File’s Syntax
To tell cron what you want it to run, and how often you want it to run it, you need to create a crontab file. A crontab file is just a text file with the following syntax:

Continue reading Linux Cron Jobs Explained

PRM (Process Resource Monitoring) in Linux Servers

The great people from R-FX Networks are bringing us a number of powerfull tools for the Linux Server enviroment

PRM (Process Resource Monitoring) monitors the process table on a given system and matches process id’s with set resource limits in the config file or per-process based rules. Process id’s that match or exceed the set limits are logged and killed; includes e-mail alerts, kernel logging routine and more…

Continue reading PRM (Process Resource Monitoring) in Linux Servers

Common SSH Commands and Linux Shell Commands

We’ve put together some of the more frequently used SSH commands or linux shell commands, and organized them by name so you can easily find a command, their description and how to use it. This guide will continue to be updated and should not be considered a complete list of SSH commands or linux shell commands, but commands, we found, often used. If you would like to add to this guide, please email us and let us know.

Continue reading Common SSH Commands and Linux Shell Commands

The old JavaScript cPanel Server exploit

The Javascript exploit has been an old saga on a few Linux distros running cPanel and Plesk .

The compromise is at the root level and a rootkit has been installed. This rootkit will attach to several syscalls within the kernel and begin serving malicious javascript to random web visitors.

This root compromise is not related to cPanel directly, as it has been reported on many different control panels on many different servers. The compromise is at the system level, and only Redhat 4, CentOS 4, and FC6 appear to be vulnerable at this time. We are actively researching this issue and will have an in-depth analysis of current information posted soon. Continue reading The old JavaScript cPanel Server exploit