So I’ve been working on setting up a way to monitor a server at work to prevent my “assistant” from screwing up too badly and I’ve come up with a temporary solution until I can work out a much more robust script. There are a few required elements, like the rc.head and rc.tail files which…

read more

So I have a co-worker on a coding project who has all but refused to use any kind of version control  ( and in general prefers to do most of his work in production ) so I’ve been kicking around ways to either force him to do the work, or at least make changes get…

read more

For whatever reason by default bash doesn’t add timestamps to bash.history, so here is how to make that happen. Add the following line to /etc/bashrc export HISTTIMEFORMAT="%d/%m/%y %T " and now when you use the history command you get nice clean timestamps, just keep in mind this is not retroactive so it will only work…

read more

Had to do a quick crontab job at work to grab user details out of /etc/passwd and email the details in a report, here is the resulting script #!/bin/bash > account-report.txt date > account-report.txt echo -e “=== Account Report ===n” >> account-report.txt Nlist=${1:-nodelist.txt} hName=( $(awk ‘{print $1}’ $Nlist) ); for name in “${hName[@]}”; do users=$(cat…

read more

Today’s random thought is on the concept of the home lab (from the IT worker perspective, not the Walter-White-Meth-Lab view). I know several people at work who have home networks setup specifically for testing and learning, some are network labs with stacks of switches and routers while others have full blown SAN environments for use…

read more

12-11-2014 – Updated bash script syntax to reflect usage of –youtube-skip-dash-manifest to keep errors down when doing bulk processed lists of videos. There are plenty of annoying windows tools that claim to be able to properly rip audio from Youtube, however I don’t trust most of them any further than I can throw a car.…

read more

Not going to make this a long and complicated post, just wanted to toss this out there in case any body else finds themselves in my situation.  I was playing around with OwnCloud and enabled the Subphonic add-on and suddenly my install quits working completely citing some bogus Apache nonsense.  Not to be deterred I…

read more

http://pastebin.com/Wx90LLum / http://www.networkworld.com/community/blog/hacker-takes-aim-homeland-posts-proof-hacking Jesus H Christ on a pogo-stick, why are these things still being left attached to the damn internet?  People have been ragging on the utility industry to get their shit in gear and lock down their SCADA equipment for years now, especially Bruce Schneier.  I can’t even fathom how this has been left alone for so…

read more

A while back I decided it would be kind of neat to learn how to pick locks, I mean think of how sexy it looks in the movies and on TV when some hero takes a paperclip and a hair pin and gets into some restricted area in less than a minute with no light…

read more
Close Bitnami banner
Bitnami