How to check for modified config files on a Debian system?

To find all Debian managed configuration files which have been changed from the default you can use a command like this. dpkg-query -W -f=”${Conffiles}\n” ‘*’ | awk ‘OFS=” “{print $2,$1}’ | md5sum -c 2>/dev/null | awk -F’: ‘ ‘$2 !~ /OK/{print $1}’ Edit (works with localized systems): dpkg-query -W -f=”${Conffiles}\n” ‘*’ | awk ‘OFS=” “{print … Read more

Why is SSH password authentication a security risk?

There are pro’s and con’s for either pw or key-based authentication. In some cases, for example, key-based authentication is less secure than password authentication. In other cases, its pw-based that’s less secure. In some cases, one is more convenient, in others, less. It all boils down to this: When you do key-based authentication, you must … Read more

ZFS vs XFS

I’ve found XFS more well suited to extremely large filesystems with possibly many large files. I’ve had a functioning 3.6TB XFS filesystem for over 2 years now with no problems. Definately works better than ext3, etc at that size (especially when dealing with many large files and lots of I/O). What you get with ZFS … Read more