A typical situation – you get to audit a server setup which hasn’t seen a apt-get update / apt-get upgrade or even apt-get dist-upgrade since Netbooks were a pipedream. “Please don’t change anything, we only want a virus scanner, but the update cache is busted,” they say. That you see a whole bunch of 404‘s in the apt (or aptitude) feedback is normal — th ...
So the below description will give you a step-by-step to run phpDocumentor (which replaces phpDoc): Get it at www.phpdoc.org or install it via PEAR (much easier – 2MB download or so). For Windows machines: go-pear.bat (if you haven’t already — find it if you don’t know where it is) and pear install --alldeps phpdocumentor Do a search for PEAR_ENV.reg on your machine. Execu ...
¿umop apisdn upside down? # ...
OK, so the newsfeed stuff is quite cool 🙂 # Generating some traffic on twitter — more wasted bytest traversing the web… # ...
Yesterday a vulnerability was discovered: a specially crafted URL could be requested that would allow an attacker to bypass a security check to verify a user requested a password reset. As a result, the first account without a key in the database (usually the admin account) would have its password reset and a new password would be emailed to the account owner. This doesn’t allow remote access, bu ...
After an impassioned plea from a developer ont he opensource mailing lists, looking for help through the myriad of 73 versions of open source licenses that are out there, a participant pointed out this link, an article by written back in February 2009 by Bruce Perens (“Bruce Perens is the creator of the Open Source Definition, the manifesto of Open Source and the criterion for Open Source s ...
You’ve seen the mail, you’ve looked at the headers, you realise that mail from Microsoft typically does not route through a Brazilian ADSL line (times may be bad, but hey!) You may be wondering why, even though you chose not to register with Microsoft when you booted up for the first time, even though you’re using an Ubuntu machine, you’re getting mail from Redmond asking ...
First ping of the month — PING! 🙂 So version 2.8.3 is out — upgrade now (if you haven’t already!) Quick note – wordpress.com claims “207,826 bloggers, 156,343 new posts, 275,786 comments, and 40,936,549 words today” — I’m a man of far fewer words! <grin> ...
for i in `ls /home/|grep muppet`; do passwd -l $i; done; It’s as simple as that. Just make sure you’re an authorized user or you sudo yourself the the right level… But you knew that, too 🙂 ...
sed -i 's/old-bit/new-bit/g' *.ext And hey presto, you’re done. Alternatively, to keep a copy of the old file, perl comes in with a helping hand: perl -pie 's/old-bit/new-bit/g' inputname > outputname So replacing a string snippet, like, say, a server IP, in a batch of files, this one liner can do what you need it to do. But you knew that already 🙂 ...