Can’t login on the console in CentOS 64 bit?
It seems that CentOS sets up the wrong library for pam_limits.so. Edit /etc/pam.d/login and change the following line:
session required /lib/security/pam_limits.so
session required /lib64/security/pam_limits.so
Oh btw, if you can’t log in on the console, you probably can by ssh.