[systemd-devel] Per user limit defaults in systemd.conf
Michal Koutný
mkoutny at suse.com
Tue Sep 1 09:32:09 UTC 2020
Hello.
On Mon, Aug 31, 2020 at 05:34:15PM -0700, Joshua Miller <joshuamiller01 at gmail.com> wrote:
> Is there a way to set per-user defaults for values in systemd.conf?
I don't think so. The config values are typically independent of the
running user.
> I'm looking for a way to do what's done via pam_limits per limits.conf
> (e.g. `username hard nofile 512`)
You may still hook into the PAM stack if you specify PAMName=... along
with the User= directive (see systemd.exec(5)).
HTH,
Michal
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: Digital signature
URL: <https://lists.freedesktop.org/archives/systemd-devel/attachments/20200901/484fbd7a/attachment.sig>
More information about the systemd-devel
mailing list