Tag: Linux
chmod recursively on directories or files using find
by Mark on May.06, 2009, under sysadmin
Sometimes its the little things that annoy us so much on the Unix command line. One big question for me was… How to do you differentiate between directories and files when recursively chmod-ing?
The answer is simple. But of course there are different ways to do the same thing.
Using the find command
find -name '*' -type d -exec chmod 0755 {} \;
NOTE: the -name ‘*’ parameter is used to keep from modifying the present working directory or ‘.’ directory.
find . -type f -exec chmod 0644 {} \;
(continue reading…)
Howto install Torrentflux-b4rt on Ubuntu
by Mark on Mar.27, 2009, under Guides
What is Torrentflux-b4rt?
What is Torrentflux-b4rt you say? Torrentflux-b4rt is a sophisticated web-based PHP BitTorrent client based off the original Torrentflux. It allows you to use an old linux server as your happily obedient bittorrent client , while you gallivant around town feeding it torrents. Its greatest feature is freeing you from being constantly connected to the internet while downloading.
Continue reading for the complete guide…
DenyHosts smart defense for your SSH server
by Mark on Mar.19, 2009, under sysadmin
DenyHosts smart SSH Server Protection
DenyHosts is a python script that is run on any Linux or BSD based system to help block SSH based attacks. It works to prevent both “dictionary based” and “brute force” attacks. Also provided is a system to synchronize block lists between other users of DenyHosts.
Continue reading for the complete guide…
