LOGIND.CONF(5) logind.conf LOGIND.CONF(5) NAME logind.conf, logind.conf.d - SYNOPSIS /etc/systemd/logind.conf /etc/systemd/logind.conf.d/*.conf /run/systemd/logind.conf.d/*.conf /usr/lib/systemd/logind.conf.d/*.conf systemd-logind.service(8) /etc/systemd/ /usr/lib/systemd/*.conf.d/ /etc/ *.conf.d/ *.conf.d/ () () *.conf.d/ /usr/lib/ /etc/ /dev/null /usr/lib/ "[Login]" NAutoVTs= autovt@.service autovt@tty4.service autovt@.service getty@.service "login:" agetty[1] () () ReserveVT= NAutoVTs= "6""0" autovt@.service ReserveVT= autovt@.service () "" agetty[1] "6" Alt-F6 "login:" "0" KillUserProcesses= "yes" scope "no" scope "" () "yes" KillOnlyUsers= KillExcludeUsers= linger() user@.service loginctl(1) enable-linger KillUserProcesses=yes screen(1) tmux(1) ( scope ) systemd-run(1) KillOnlyUsers=, KillExcludeUsers= KillUserProcesses= KillOnlyUsers= KillUserProcesses=yes KillExcludeUsers= KillUserProcesses=yes KillOnlyUsers= KillExcludeUsers= "root" KillExcludeUsers= KillOnlyUsers= () IdleAction= IdleActionSec= "ignore"(), "poweroff"(), "reboot"(), "halt"(), "kexec"("kexec"), "suspend"(), "hibernate"(), "hybrid-sleep"(), "lock"() "ignore" (1)"idle inhibitor[2]"() (2) IdleActionSec= IdleActionSec= IdleAction= "ms", "s", "min", "h", "d" InhibitDelayMaxSec= "delay inhibitor[2]"/ / "ms", "s", "min", "h", "d" 5 HandlePowerKey=, HandleSuspendKey=, HandleHibernateKey=, HandleLidSwitch=, HandleLidSwitchDocked= () "ignore"(), "poweroff"(), "reboot"(), "halt"(), "kexec"("kexec"), "suspend"(), "hibernate"(), "hybrid-sleep"(), "lock"() "power-switch" key()/lid() (docking station) "" HandleLidSwitchDocked= HandleLidSwitch= HandlePowerKey=poweroff HandleSuspendKey=suspend HandleLidSwitch=suspend HandleLidSwitchDocked=ignore HandleHibernateKey=hibernate PowerKeyIgnoreInhibited=, SuspendKeyIgnoreInhibited=, HibernateKeyIgnoreInhibited=, LidSwitchIgnoreInhibited= () () inhibitor[2] "no" inhibitor "yes" inhibitor PowerKeyIgnoreInhibited=no SuspendKeyIgnoreInhibited=no HibernateKeyIgnoreInhibited=no LidSwitchIgnoreInhibited=yes HoldoffTimeoutSec= / systemd (lid) lid systemd lid systemd 30 RuntimeDirectorySize= ($XDG_RUNTIME_DIR) 1024K, M, G, T ( "%" ) 10% (tmpfs) InhibitorsMax= inhibitor 8192 SessionsMax= 8192 PAM pam_systemd.so systemd-logind UserTasksMax= slice TasksMax= systemd.resource-control(5) 33% 10813 RemoveIPC= () SysV POSIX IPC IPCSysV //POSIX / "yes" IPC root IPC systemd(1), systemd-logind.service(8), loginctl(1), systemd- system.conf(5) NOTES 1. agetty [set $man.base.url.for.relative.links]//man/agetty.html 2. inhibitor http://www.freedesktop.org/wiki/Software/systemd/inhibit man http://www.jinbuguo.com man https://github.com/man-pages-zh/manpages- zh systemd 231 LOGIND.CONF(5)