Anyone who tried to visit any of my sites last night, or send me email, probably noticed that I dropped off the face of the earth. I take my uptime pretty seriously - even with virtually no budget, about 10 minutes of UPS time, and everything hosted out of my basement …more ...
I’ve had the need to find out the actual username of someone logged in
and working as root (via
sudo su -) to put it into a subversion
This quick little bash script does the trick, and just echos the username.
#!/bin/bash PID=$$ # get PID of current …
While I know this isn’t best practice, since we use LDAP-based auth for
our Linux boxes (including a sudoers file based on LDAP group
membership), we usually do work on some boxes as root (
sudo su -).
This includes our puppetmaster, where
configs are kept in subversion and edited …
Net Neutrality is a big issue these days, and one that’s exploded out of the geek circles into mainstream media. I’ll admit that it seems like there are endless variations on exactly what people consider Net Neutrality to be (or what it should be). The general goal of …more ...
Yes, I haven’t posted much lately. Just a quick little tip, since it came in handy today.
Grep accepts a
--color argument which highlights matches in color
(assuming your terminal supports it). Passing grep
piping the output into
less -R will allow you to scroll through …