I stumbled across this while looking into how to setup pam so pam_limits.so would be applied in various scenarios, at least sudo, su, ssh login, shell login. This does not seem to be as trivial as just adding it to common-session. Using common-session-noninteractive strikes me as odd, e.g. sudo bash is quite interactive.
I stumbled across this while looking into how to setup pam so pam_limits.so would be applied in various scenarios, at least sudo, su, ssh login, shell login. This does not seem to be as trivial as just adding it to common-session. Using common- session- noninteractive strikes me as odd, e.g. sudo bash is quite interactive.