X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=units%2Fsystemd-logind.service.in;h=c332039e8775e70d094fddf6edd19916b9a28339;hp=52c4acfea7510f7012c08b0657c4c5447c96fe5d;hb=9f84624270432cdff35c4f499fbdb9e0f94fe705;hpb=91f9dcaf9270fe465525638cc08bd94590273349 diff --git a/units/systemd-logind.service.in b/units/systemd-logind.service.in index 52c4acfea..c332039e8 100644 --- a/units/systemd-logind.service.in +++ b/units/systemd-logind.service.in @@ -14,4 +14,8 @@ Description=Login Service ExecStart=@rootlibexecdir@/systemd-logind Type=dbus BusName=org.freedesktop.login1 -CapabilityBoundingSet= +CapabilityBoundingSet=CAP_AUDIT_CONTROL CAP_CHOWN CAP_KILL CAP_DAC_READ_SEARCH CAP_DAC_OVERRIDE CAP_FOWNER + +# Increase the default a bit in order to allow many simultaneous +# logins since we keep one fd open per session. +LimitNOFILE=16384