Launching actions on file or directory events using incron

The incron service is working in a similar way than the cron daemon. The difference is that you can use incron to monitor files or directories and launch specific actions on different events (for example if a new file is created or a file is saved). A practical example: You could use incron to restart […]

Secure SSH access via hosts.deny

You can use the two files /etc/hosts.allow and /etc/hosts.deny to control the ssh access to your linux box in a very simple way – without restarting services, etc. You just start your line with ALL: (really block all requests) or ALL EXCEPT (block all requests except these). Here we're blocking everything from IP from the network […]