How To Increase the Open Files ulimit on Ubuntu

Author: , April 29th, 2013

Add the following four lines to the bottom of /etc/security/limits.conf: root soft nofile 65535 root hard nofile 65535 * soft nofile 65535 * hard nofile 65535 NOTE: All whitespace MUST be a single tab! Also edit these three files: /etc/pam.d/su /etc/pam.d/common-session /etc/pam.d/common-session-noninteractive and add the following one line: session    required   pam_limits.so

How To Fix Webmin PAM Errors At Startup

Author: , January 30th, 2011

If you are seeing PAM errors in /var/webmin/miniserv.error, then try the following: # yum install pam-devel # cpan Authen::PAM # vim /etc/pam.d/webmin auth include system-auth # service webmin restart Log will now say: PAM authentication enabled instead of : PAM test failed – maybe /etc/pam.d/webmin does not exist

How To Enable SASLAuthd

Author: , December 17th, 2010

Execute the following as root to enable at boot time: # ln -s /etc/init.d/saslauthd /etc/rc3.d/S97saslauthd Start it up manually: # /etc/init.d/saslauthd start Test saslauthd authentication via PAM: % testsaslauthd -s smtp -u {username} -p {password} 0: OK “Success.”