Recover sudo abilities in debian

In case you screw up your sudo functionality, e.g. by removing yourself (the entity using sudo) from the sudoers using sudo, you can fix that easily using this step-by-step guide.

Published
Categorized as Linux Tagged

Hardening Linux / Apache

Just a list of  tutorials: http://www.openlogic.com/wazi/bid/188105/How-to-Secure-Your-Apache-Web-Server http://blog.monitis.com/index.php/2011/06/22/25-linux-server-hardening-tips/ http://www.cyberciti.biz/tips/linux-security.html

Splunk: Keep indexed volume under control

You can use splunk for free for up to 500 megabytes of indexed data daily. To make sure you do not run beyond this limitation, use the following query: index=_internal group=”per_source_thruput” NOT series=”*splunk/var/log*” | eval mb=kb/1024| timechart span=1d sum(mb) by series When drawing a bar graph, you directly see, what type of log is filling… Continue reading Splunk: Keep indexed volume under control

Finding large files in Linux

Spring clean up? Find all the files which are larger than 20 megs: find / -type f -size +20000k -exec ls -lh {} ; | awk ‘{ print $9 “: ” $5 }’

Published
Categorized as Software

Keep track of your wine cellar

Just found a great website for wine nuts: www.cellartracker.com. It allows you to index all your wines, add tasting notes to them and find out what other people think about the wine. In combination with the Cor.kz iPhone app you have the ability to check in bought/delivered wines directly on your mobile. Find my profile here.

Published
Categorized as Wine