<div dir="ltr">I have checked the snippets. "common-account" only deal with account settings. "common-session-interactive" does not include a pam_limits entry.<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Nov 20, 2017 at 9:49 AM, Lennart Poettering <span dir="ltr"><<a href="mailto:lennart@poettering.net" target="_blank">lennart@poettering.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Mo, 20.11.17 09:47, Jeff Solomon (<a href="mailto:jsolomon8080@gmail.com">jsolomon8080@gmail.com</a>) wrote:<br>
<br>
> I guess the answer is "no." :)<br>
><br>
> This is Ubuntu 16.04. On CentOS7.3, pam_limits is part of systemd-user<br>
> through system-auth<br>
><br>
> Here is /etc/pam.d/systemd-user from my Ubuntu system:<br>
><br>
> # This file is part of systemd.<br>
> #<br>
> # Used by systemd --user instances.<br>
><br>
> @include common-account<br>
><br>
> sessionĀ  required pam_selinux.so close<br>
> sessionĀ  required pam_selinux.so nottys open<br>
> @include common-session-noninteractive<br>
> session optional pam_systemd.so<br>
<br>
</span>Have you checked the snippets listed in the @include lines? Maybe they<br>
pull it in?<br>
<span class=""><br>
> So on RHEL systems, it doesn't matter that is works because user instances<br>
> are officially not included and it just doesn't work on Ubuntu because<br>
> pam_limits is not used by systemd-user.<br>
><br>
> I find it odd that two major distros differ in this behavior.<br>
<br>
</span>PAM is a mess. Setups and syntax vary wildly between distros. It's sad.<br>
<div class="HOEnZb"><div class="h5"><br>
Lennart<br>
<br>
--<br>
Lennart Poettering, Red Hat<br>
</div></div></blockquote></div><br></div>