Archive for the ‘Uncategorized’ Category

Enable root user password login on EC2 Ubuntu

March 22nd, 2012 16 comments

Even though it’s not recommended, sometimes it’s easier to just log in as root. Here’s how to enable the root user login on your Ubuntu based EC2 instance:


Create a password for the root user:

     sudo passwd root

Edit your SSHd config to allow password based logins:

     sudo nano -w /etc/ssh/sshd_config

Add the following line to /etc/ssh/sshd_config:

     PasswordAuthentication yes

Copy your authorized SSH keys if you want to log in via keys as well:

     sudo mkdir /root/.ssh
     sudo cp /home/ubuntu/.ssh/authorized_keys /root/.ssh/

Reload your SSHd config:

     sudo reload ssh

Now you can login as root!

Categories: Uncategorized Tags: , , , , ,

Windows Server 2008 and Upgrading VMware Tools gives vmci.sys 0xc0000098 BSOD

February 15th, 2012 5 comments

I just experienced a vmci.sys 0xc0000098 BSOD bluescreen on upgrading VMware Tools on Windows Server 2008 (not R2) and was stuck in an endless reboot loop. It would not even boot into safe mode. However, I used “Last Known Good Configuration” while booting up, and it fixed the issue and allowed me to boot into Windows. A quick Google search didn’t result anything similar so I figured I’d share my findings. Comment if it works for you!

Sending Notifo notifications using PHP

September 21st, 2011 No comments

I coud not find any decent functions to send notifications to my Notifo account using PHP so I made one. It’s highly customizable and easy to use. Check it out:

Categories: Uncategorized Tags: