Local Root Exploit in Multiple Versions of Linux Kernels

February 12th, 2008

All security websites are reporting that there is a script that will allow non-root users with ssh2 access to obtain full access to the system.

http://www.securityfocus.com/bid/27704/info
http://it.slashdot.org/it/08/02/10/2011257.shtml

All our servers were patched this morning and restarted. According to Redhat bugzilla, it only affected servers running Redhat 5. Servers on Redhat 4 were not affected.

https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2008-0600

This is considered a very severe exploit.

If you have other servers and want to check if you’re vulnerable, do the following in shell:

grep -ri vmsplice /boot/System.map-$(uname -r)

if it returns nothing = not vulnerable
if it returns something like: c048fdf7 T sys_vmsplice = vulnerable

Installing Ruby on Rails in Cpanel

January 31st, 2008

cPanel 11 Stage 2 (currently in the most recent RELEASE build) have RoR functionality, including Rails and Gems options on cpanel.

Note: For RoR, Apache must have mod_proxy support.

How To Install Ruby on a cpanel Server

/scripts/installruby

How TO Install And Setup Gems

Ruby Gems are collections of functions that allow you to perform tasks in Ruby. You will need to install a Gem before you can use it inside a Ruby program.

Note: Current cpanel version has some bugs or issue with Gem Setup. We may sometimes need to configure Gems and Rails from command line. Read the rest of this entry »

Affiliate Program at Canadianwebhosting.com Updated.

January 31st, 2008

We have received many requests to have the tier payout redone. I am happy to announce that we have listened to our affiliates and have rolled out a new payout schedule. Here are the details:

1-5 referrals/month $35.00
6-10 referrals/month $50.00
11+ referrals/month $75.00

It is now possible to receive $75 per referral when you send 11+ sign ups.. down from 50+. Most of our affiliates send an average of 10-20 referrals per month and this will more than double their payouts. That is $600 more if you were sending 15 referrals a month!

ASP Recordcount with MySQL database

November 13th, 2007

I was trying to use the Recordcount in asp with MySQL and always came up with -1.  It took me sometime finding a solution. Apparently MySQL does not support Server Side Cursors. Here is a quick fix:

To make this work you will need to set the CursorLocation to 3:

Set objRS = Server.CreateObject(”ADODB.Recordset”)
objRS.CursorLocation = 3
objRS.Open mySQL, objConn

Hope this helps!

Grand Central from Google-Got my number!

August 27th, 2007

www.grandcentral.com - I registered for the beta a few months back and finally got my invite! Even though Grand Central only offered phone numbers in the US, I was still able to register for a beta account with a 310 area code. Setting up was simple and straight forward. I was up and running in about 10 minutes( took me 8 minutes to browse through the numbers and decide on one :P ) Read the rest of this entry »