diff options
author | Ray Strode <rstrode@redhat.com> | 2014-04-22 13:27:58 -0400 |
---|---|---|
committer | David Herrmann <dh.herrmann@gmail.com> | 2014-04-23 17:36:43 +0200 |
commit | d6176c6c97bf0614c2e7caaf2156bf813b39337a (patch) | |
tree | 95b846b71ccb2c19b2769cb37e89e862598fd4e9 /units/multi-user.target | |
parent | 26e376bfe34ba6caa04723b9200e9deace8e6c9f (diff) |
login: give session ownership of VT
The tty associated with a VT should be owned by the owner of the session
running on the VT. This is important for supporting a socket activated X
server, since the X server will open the tty itself.
This commit makes sure to chown the tty any time a session is
created and and chown it back to root any time the session
is removed. This behavior is copied from /bin/login.
Diffstat (limited to 'units/multi-user.target')
0 files changed, 0 insertions, 0 deletions