summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Kazantsev <mk.fraggod@gmail.com>2012-01-27 21:13:42 +0100
committerLennart Poettering <lennart@poettering.net>2012-01-27 21:14:01 +0100
commit9c07474c6fa296195dcdc734d77792dff95f5c35 (patch)
treef0aee5f2f9f0120074546b4cf9fb3f7f11882fec
parent02b16a19a4f786f63ad6f4e8f6e185b41c9ca386 (diff)
logind: add sys_tty_config capability, to let it use VT_ACTIVATE ioctl on "activate" action
-rw-r--r--units/systemd-logind.service.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/units/systemd-logind.service.in b/units/systemd-logind.service.in
index c332039e87..531b8f7e93 100644
--- a/units/systemd-logind.service.in
+++ b/units/systemd-logind.service.in
@@ -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.