CentOS Login Error Fix:
-bash: ulimit: open files: cannot modify limit: Operation not permitted
Solution:
vi /etc/security/limits.conf

Using the user hz as an example, add the following content at the bottom and log in again:
hz soft nproc 102400
hz hard nofile 102400