1
0
mirror of https://github.com/systemd/systemd synced 2024-07-08 20:15:55 +00:00

logind: add sys_tty_config capability, to let it use VT_ACTIVATE ioctl on "activate" action

This commit is contained in:
Mike Kazantsev 2012-01-27 21:13:42 +01:00 committed by Lennart Poettering
parent 02b16a19a4
commit 9c07474c6f

View File

@ -14,7 +14,7 @@ Description=Login Service
ExecStart=@rootlibexecdir@/systemd-logind
Type=dbus
BusName=org.freedesktop.login1
CapabilityBoundingSet=CAP_AUDIT_CONTROL CAP_CHOWN CAP_KILL CAP_DAC_READ_SEARCH CAP_DAC_OVERRIDE CAP_FOWNER
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.