- the hard limit too, but can only decrease it.
Root
You must be root to increase the hard limit from its default value with the help of a configuration file such as: limits.conf.Example for the user obi:
obi soft nofile 1024
obi hard nofile 10240
To see the hard limit values, run “ulimit -H -a”.Some Linux distributions have PAM modules (pam_limit.so) that can adjust the limit values at login time.