Month: June 2013

Inspect CentOS yum exclude policy

Here is a quick little one liner to check what the excludes policy on a CentOS cPanel server is: #wget -q http://centos.karan.org/check_excludes.py -O – | python Loaded plugins: priorities, protectbase, rhnplugin main: [‘bind-chroot’, ‘courier*’, ‘dovecot*’, ‘exim*’, ‘filesystem’, ‘httpd*’, ‘mod_ssl*’, ‘mydns*’, ‘mysql*’, ‘nsd*’, ‘perl*’, ‘php*’, ‘proftpd*’, ‘pure-ftpd*’, ‘ruby*’, ‘spamassassin*’, ‘squirrelmail*’] epel – [] rpmforge – []…


Oracle Relicenses MySQL man Pages

UPDATE: This appears to be a bug according to MySQL – http://bugs.mysql.com/bug.php?id=69512   “This is indeed a bug, where the build system erroneously and silently started pulling in man pages with the wrong set of copyright headers.” From http://blog.mariadb.org/ It has recently been brought to our attention that the MySQL man pages have been re-licensed. The change…


Zamfoo Critical Security Vulnerability

Unfortunately, this software has a severe root access vulnerability. Zamfoo WHM Plugin – http://www.zamfoo.com/plugins – $Fee – Security Issues, DO NOT USE http://www.webhostingtalk.com/showthread.php?t=1275572 http://localhost.re/p/zamfoo-120-vulnerability Remove this plugin as quickly as possible unless re-imaging  your server(s) is the favorite part of your day.


10 Ways to Generate a Random Password from the Command Line

From http://www.howtogeek.com One of the great things about Linux is that you can do the same thing hundreds of different ways—even something as simple as generating a random password can be accomplished with dozens of different commands. Here’s 10 ways you can do it. We gathered all of these commands from Command-Line Fu and tested…


Reinstall the Plesk PMA tables

For Plesk 10.11 Basically Plesk updated and broke things. I imagine there could be some other cases when this breaks as well. For further details on the problem, see: http://forum.parallels.com/showthread.php?281752-MU37-phpMyAdmin-errors First locate the database tables that are missing. Usually, it is something like: /var/lib/mysql/phpmyadmin_$randomstringofchars/ and there would only be this file ‘db.opt‘. If you login…


cPanel Quota Issue

Hello, Recently there has been issues on some cPanel servers when attempting to obtain the disk quota for specific users. The problem is that it would return N/A in the cPanel account when looking at disk usage. Same result would appear when trying to get disk space for the user manually in the command line:…


Plesk Compromise

From arstechnica.com Parallels KB article: http://kb.parallels.com/116241 “The exploit for this vulnerability uses a combination of the 2 issues: – PHP vulnerability CVE-2012-1823 related to CGI mode used in older Plesks (http://kb.parallels.com/en/113818). – Plesk phppath script alias usage in Plesk versions 9.0 – 9.2…


Use Google Authenticator For Two-Factor SSH Authentication in Linux

From scottlinux.com For a very secure and convenient way to add two-factor ssh auth to your Linux server, you can use Google Authenticator. I’ll show you how to set this up! 1. In Ubuntu 13.04: $ sudo apt-get install libpam-google-authenticator 2. Then, from an open bash shell with your user account on that server and…