Enforcing password complexity on CentOS

The pam_pwquality (previously pam_cracklib) module is used to check password complexity against a set of rules. It checks if the password is found in a dictionary; if not, it will continue with additional checks. The config file is /etc/security/pwquality.conf but, if in use, it can be configured in /etc/pam.d/system-auth. To add the password policies, just… Continue reading “Enforcing password complexity on CentOS”

Using sudo without password

When you issue a sudo command you will be asked to type your password to execute it and this can be quite annoying, especially for people like me that open the terminal every 3 minutes and don’t want to login as root every time. To solve this “problem” you need to edit sudo’s configuration file,… Continue reading “Using sudo without password”