X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=units%2Fsystemd-logind.service.in;h=4241b8b32003ca7e4508d1907ea48b913ed4e3a9;hb=822b18599d1c9465449c7111fe7e7b86fbf44a57;hp=d4734c3da4920880861de57fbc898bd5b7913562;hpb=094062918c50cd5a34f7b6510fe206bf78d7cc58;p=elogind.git diff --git a/units/systemd-logind.service.in b/units/systemd-logind.service.in index d4734c3da..4241b8b32 100644 --- a/units/systemd-logind.service.in +++ b/units/systemd-logind.service.in @@ -14,5 +14,9 @@ Description=Login Service ExecStart=@rootlibexecdir@/systemd-logind Type=dbus BusName=org.freedesktop.login1 -CapabilityBoundingSet=CAP_AUDIT_CONTROL CAP_CHOWN CAP_KILL +CapabilityBoundingSet=CAP_AUDIT_CONTROL CAP_CHOWN CAP_KILL CAP_DAC_READ_SEARCH CAP_DAC_OVERRIDE CAP_FOWNER StandardOutput=syslog + +# Increase the default a bit in order to allow many simultaneous +# logins since we keep one fd open per session. +LimitNOFILE=16384