Excerpt from Guido Martínez:
> I can confirm this. I wasn't sure if it was expected behaviour so I
> did a quick google search and came to this
> If you want 'su' to set the user limits you need to modify
> /etc/pam.d/su and uncomment the line "# session required
> pam_limits.so". I tried it and it works.
Thank you! That gives expected results. Additionally i added the same to
> Given that this option exists, it's most likely not a bug.
IMO well at least that fact that this line is commented and that 'su' is the
only file in /etc/pam.d/ that does so is arguable.
-- <snip> --
721B 1BA0 095C 1ABA 3FC6 7C18 89A4 A2A0 C70B 1A8F