Recent Posts

Mail only works on localhost

This happens quite often with new users or admins who are not familiar with mail setups. Postfix (/etc/postfix/main.cf

Deny certain users access to a console

Add the required pam_access line to your system-auth or login file in the /etc/pam.d directory. This needs to be the first auth line to override the previous...

Kill all processes for a user

Sometimes you need to kill off any running processes do you can remove a exploited account. Here is a simple quick way. Using pkill

Report current disk usage

This is good for trying to chase down which directories are eating up the most space and give you a file with the report sorted by size in MB.