-bash: ulimit: open files: Cannot Modify Limit: Operation Not Permitted Fix

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

Leave a Comment

Your email address will not be published.