IRL I’ve had a few people ask me about updating Ubuntu installations via cron. If you add something like 05 0 * * * /usr/bin/apt-get -y update ; /usr/bin/apt-get -y upgrade to root’s crontab, you’ll get errors like this: dpkg: warning: ‘ldconfig’ not found in PATH or not executable. dpkg: warning: ‘start-stop-daemon’ not found in [...]
This should go without saying but make sure you are not running screen if you want your .screenrc customizations to take effect. I was trying to redo my .screenrc and none of my changes were taking effect and I was extremely frustrated. The .screenrc I was using is from my FreeBSD systems but I was [...]
Use this one-liner of which I am rather proud to gather how many hits AdBlock Plus has recorded: find ~/.mozilla/firefox/*/adblockplus -name patterns.ini -exec cat {} \; | grep hitCount | cut -d”=” -f2 | awk ‘{s+=$0} END {print s}’ Tested with FreeBSD and Ubuntu.
Primarily a FreeBSD user, I am used to seeing the output of w like this: (Excellent uptime on the above…FreeBSD FTW. . However, in Ubuntu (10.04 anyway), it looks like this: I’d prefer to see what commands others are using. Who would have thought that a single letter command had useful switches?: Nothing interesting is [...]
I recently installed OSSEC (a HIDS) and set it up to email security@ this domain. I’m familiar enough with my system to know what certain events that OSSEC didn’t understand were. However, I noticed this one that startled me: Trojaned version of file ‘/bin/login’ detected. Signature used: ‘bash|elite|SucKIT|xlogin|vejeta|porcao|lets_log|sukasuk’ (Generic). Umm…what? It turns out this is [...]
Also filed in Security
|
Tagged bash, errors, HIDS, login, LTS, lucid, OSSEC, security, trojan, trojaned version, ubuntu
|