Using RHEL7 with systemd
Do you have to use a specific file name convention in
/etc/security/limits.d (besides the file ending in
.conf)? There is a file in this directory called
20-nproc.conf. So if I wanted to raise the open file limit for
USER1 how would I name this
.conf file? Does that first number matter? ie.
20 in the .conf file
And should I create this
/etc/security/limits.d directory since
Also note that configuration files in /etc/security/limits.d directory, which are read in alphabetical order, override the settings in this file in case the domain is the same or more specific. ...
Can I create a .conf file called
USER1 soft nofile 6000 USER1 hard nofile 6000