Solution 1:
You may have to uncomment pam_limits.so from the different files under /etc/pam.d (cron, su, sudo, sshd, login)
session required pam_limits.so
You may have to uncomment pam_limits.so from the different files under /etc/pam.d (cron, su, sudo, sshd, login)
session required pam_limits.so