Category Archives: Linux

Understanding Linux CPU Load – when should you be worried?

You might be familiar with Linux load averages already. Load averages are the three numbers shown with the uptime and top commands – they look like this: load average: 0.09, 0.05, 0.01 Most people have an inkling of what the load averages mean: the … Continue reading

Posted in CPU, Linux | Tagged , , | Comments Off

Linux Local Privilege Escalation via SUID /proc/pid/mem Write

Introducing Mempodipper, an exploit for CVE-2012-0056. /proc/pid/mem is an interface for reading and writing, directly, process memory by seeking around with the same addresses as the process’s virtual memory space. In 2.6.39, the protections against unauthorized access to /proc/pid/mem were … Continue reading

Posted in Kernel, Linux | Tagged , , | Comments Off

Linux: Neighbour Table Overflow Error and Solution

I setup a CentOS Linux based Linux server running as a gateway and firewall server. However, I’m getting the following messages in the /var/log/messages log file: Dec 20 00:41:01 fw01 kernel: Neighbour table overflow. Dec 20 00:41:01 fw01 last message … Continue reading

Posted in Linux | Tagged , | Comments Off

Linux: Find Out What Partition a File Belongs To

How do I find out that /users/f/foo/file.txt file belongs to a specific partition? How do I find out on what partition a file exits? The df command report file system disk space usage including file names and directory names. The … Continue reading

Posted in Linux, Uncategorized | Tagged , , | Comments Off

CentOS / RHEL: Change / Copy File SELinux Security Context Command

I’ve created a file as follows: ls -l -Z /etc/cron.d/vnstat -rw-r–r–. root root system_u:object_r:system_cron_spool_t:s0 /etc/cron.d/vnstat I’ve created a new file /etc/cron.d/vnstat.custom.interface: ls -l -Z /etc/cron.d/vnstat.custom.interface -rw-r–r–. root root unconfined_u:object_r:system_cron_spool_t:s0 /etc/cron.d/vnstat.custom.interface The /etc/cron.d/vnstat is part of default vnstat package. I’ve installed … Continue reading

Posted in Linux, Security | Tagged , | Comments Off

CentOS / RHEL: yum Command Reinstall Package

I accidental deleted the configuration file stored in /etc/ directory and the latest backup were made yesterday. How do I resinstall the package using the yum command under RHEL / CentOS Linux server? You can use the yum command with … Continue reading

Posted in Linux, yum | Tagged , | Comments Off

Linux / Unix: Disable OpenSSH Host Key Checking

‘ve a remote Unix server running with OpenSSH remote login service. The openssh is configured for passwordless login using ssh keys. Our ISP allows to boot all Linux servers into the rescue mode. It allow us to bring a server … Continue reading

Posted in Linux, SSH, Unix | Tagged , | Comments Off

Live upgrade Fedora 15 to Fedora 16 using yum

Before we get started, I really ought to drop this here: Upgrading Fedora via yum is not the recommended method. Your first choice for upgrading Fedora should be to use preupgrade. Seriously. This begs the question: When should you use … Continue reading

Posted in Linux, yum | Comments Off

Automatically upgrading to new point releases of Scientific Linux

When you install Scientific Linux, it will keep you on the same point release that you installed. For example, if you install it from a 6.0 DVD, you’ll stay on 6.0 and get security releases for that point release only. … Continue reading

Posted in Linux, yum | Tagged | Comments Off

Commvault Simpana 9.0 with Granular File Recovery for Linux under VMWare

I am currently going through the process of installing a brand new Commvault installation. One thing I am evaluating is doing most of my backups via the Virtual Server iDataAgent, this will give me “bare metal” recovery of my VM’s … Continue reading

Posted in Linux, VMWare | Tagged , | Comments Off