<div dir="ltr"><br><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class=""><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div><div><div><div>I didn't think that systemd paid one bit of attention to the settings controlled by pam_limits?<br></div></div></div></div></div></div></div></div></blockquote></div><div><br></div></span><div>The user@ instance runs user-controlled processes, much like cron would, so its service unit has PAM enabled as well.</div><span class=""></span></blockquote></div></div><div class="gmail_extra"><br></div><div class="gmail_extra">When I change pam_limits for a user via a file /etc/security/limits.d/, and then restart the user instance, neither the user instance itself nor the children of that instance are affected by those settings. OTOH, when I login again as that user, that login session does have those custom limits set.</div><div class="gmail_extra"><br></div><div class="gmail_extra">Based on your previous comment, I would have expected the user instance and its child to show those custom limits. What did am I getting wrong?<br></div></div>