So here’s a little snippet which lets you Add Magento admin programatically. This comes in VERY handy if your client doesn’t give you the admin login to their website (in time). I’m impatient and don’t want to have to go through the hassle of sending mails which will get bounced around a few people before reaching the appropriate person who can give me an account.

This was stolen from some other place on the web, who probably stole it from somewhere else again 🙂