X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=units%2Fsystemd-logind.service.in;h=c332039e8775e70d094fddf6edd19916b9a28339;hb=ea41a8a973a7b9f628d93fa501131dfc2f6cc024;hp=52c4acfea7510f7012c08b0657c4c5447c96fe5d;hpb=91f9dcaf9270fe465525638cc08bd94590273349;p=elogind.git 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