Yearly Archives: 2012


Linux rescue from grub busybox

When SOL and linux won’t boot (i.e. like /etc/fstab is misconfigured, which prevents you from booting and correctly configuring /etc/fstab…chicken and the egg type of situation…), you could in theory boot with a live cd or something along those lines. Otherwise, you can, from grub (i.e. grub menu -> find the entry you’re booting with, […]


Ubuntu Black Magic

Shrinking Root with Software Array, then Replacing Root with another Root Image 0. Start console.  This is a hardware thing, whereby you can monitor the system console even during a reboot.  For example: ssh console@slcradar03-sp.con.slc.ebay.com start /SP/console escape + ( gets out of the console.  then, you can do a “reset/SYS” to reboot   Take […]


Integrate facebook with facebook cononect with phpbb

I have the code, which involves a fair number of files, so it makes no sense to post them all here.  In general, the concept is: 1. authentiacate the user with facebok connect (i.e. button -> launch page [probably with javascript] for user to accept allowing your app) 2. upon successful login to facebook, create […]


ldap on ubuntu

FIRST OF ALL, it would be uber helpful if you first stop the naming service.  Otherwise, it will screw you up and confuse you.  Thus: service nscd stop   /etc/ldap.conf is used for authentication /etc/ldap/ldap.conf is used by other programs to contact the ldap server (pam) To connect to Active directory, you need to map […]


Hotmail losing email

You never got an email you were supposed to get in your hotmail account. Check Options (upper right hand corner’s dropdown) -> More Options -> Rules for SORTING new messages. See if any rules delete emails directly


ssh keys don’t work

After copying A’s id_rsa.pub’s content to destination machine B’s .ssh/authorized_keys if it still for some reason prompts you for password when you ssh from A to B, check B’s home directory permissions. It can’t be group writable. Try 744. (755 also works)