X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=units%2Fsystemd-logind.service.in;h=531b8f7e9310ae88dd9c8a816ef8131406ac5907;hb=dcc219a2734a3ef7f203fb8e94014bcbc2e017aa;hp=52c4acfea7510f7012c08b0657c4c5447c96fe5d;hpb=91f9dcaf9270fe465525638cc08bd94590273349;p=elogind.git diff --git a/units/systemd-logind.service.in b/units/systemd-logind.service.in index 52c4acfea..531b8f7e9 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 CAP_SYS_TTY_CONFIG + +# Increase the default a bit in order to allow many simultaneous +# logins since we keep one fd open per session. +LimitNOFILE=16384