I tried to setup the soft and hard nofile limits for root. But when I tried to ssh as root user, the limits set do not take into effect. Why?
Updated -
This happens when UsePrivilegeSeparation
is enabled in /etc/ssh/sshd_config
. UsePrivilegeSeparation
is enabled to prevent privilege escalation by containing any corruption without the unprivileged processes. Disabling it will allow the soft and hard nofile
values for root user to be modified, but that would make the sshd
setup le...
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.