My Alpine box shows weird behavior of PAM:
login via ssh:
limits.conf is read, and the parameters are set correctly.
login via console, even as root (!!!): limits.conf appears to be ignored.
login via display manager: limits.conf ignored.
Exception: i restart the display mager from an ssh session. After doing this,
my normal user sees rtprio and memlock as configured.
Obviously the display manager does inherit this from the shell i have in the ssh session.
Which gives rise to the question if there is any global place where these limits are configured globally
(and maybe how i can disable PAM altogether)