LOGIND.CONF(5) logind.conf LOGIND.CONF(5) logind.conf, logind.conf.d - /etc/systemd/logind.conf /run/systemd/logind.conf /usr/local/lib/systemd/logind.conf /usr/lib/systemd/logind.conf /etc/systemd/logind.conf.d/*.conf /run/systemd/logind.conf.d/*.conf /usr/local/lib/systemd/logind.conf.d/*.conf /usr/lib/systemd/logind.conf.d/*.conf systemd systemd-logind.service(8). systemd.syntax(7) . . : /etc/systemd/ /run/systemd/ /usr/local/lib/systemd/ [1] /usr/lib/systemd/. . (drop-ins) . ( /etc/ /usr/) . /usr/lib/systemd/*.conf.d/ /usr/local/lib/systemd/*.conf.d/ /etc/systemd/*.conf.d/. . *.conf.d/ . . (drop-ins) /usr/. /etc/ . . . . . 10-40 /usr/ 60-90 /etc/ /run/ . /dev/null /etc/ . [Login]: NAutoVTs= . (VTs) "autovt" . autovt@.service TTY autovt@tty4.service. autovt@.service getty@.service. . "gettys" . ( ) . ReserveVT= NAutoVTs=. 6. 0 "autovt". ReserveVT= . autovt@.service ( ). . "getty" . 6 ( "getty" Alt-F6.). 0 . 190. KillUserProcesses= . . . systemd.scope(5) . "no" KillOnlyUsers= KillExcludeUsers= . user@.service. . enable-linger loginctl(1). KillUserProcesses=yes screen(1) tmux(1) . systemd-run(1). KillOnlyUsers=, KillExcludeUsers= KillUserProcesses=. KillExcludeUsers= KillUserProcesses=yes. KillExcludeUsers= "root" . KillExcludeUsers= . KillOnlyUsers= . . KillUserProcesses=yes. IdleAction= . "ignore" "poweroff" "reboot" "halt" "kexec" "suspend" "hibernate" "hybrid-sleep" "suspend-then-hibernate" "sleep" "lock". "ignore". . IdleActionSec= ( ). 198. IdleActionSec= IdleAction= ( ) . 198. InhibitDelayMaxSec= "delay" . 5. UserStopDelaySec= user@.service . . / . "infinity" . 10. 240. SleepOperation= . "suspend" "hibernate" "hybrid-sleep" "suspend-then-hibernate". "sleep". "sleep" ("suspend-then-hibernate" -> "hybrid-sleep" -> "suspend" -> "hibernate") . "suspend-then-hibernate suspend hibernate". 256. HandlePowerKey=, HandlePowerKeyLongPress=, HandleRebootKey=, HandleRebootKeyLongPress=, HandleSuspendKey=, HandleSuspendKeyLongPress=, HandleHibernateKey=, HandleHibernateKeyLongPress=, HandleLidSwitch=, HandleLidSwitchExternalPower=, HandleLidSwitchDocked=, HandleSecureAttentionKey= logind . "ignore" "poweroff" "reboot" "halt" "kexec" "suspend" "hibernate" "hybrid-sleep" "suspend-then-hibernate" "sleep" "lock" "factory-reset" "secure-attention-key". "ignore" systemd-logind . "lock" . / "power-switch" udev. HandlePowerKey= "poweroff" HandleRebootKey= "reboot" HandleSuspendKey= "suspend" HandleHibernateKey= "hibernate" HandlePowerKeyLongPress= "ignore" HandleRebootKeyLongPress= "poweroff" HandleSuspendKeyLongPress= "hibernate" HandleHibernateKeyLongPress= "ignore". HandleLidSwitch= "suspend". HandleLidSwitchExternalPower= ( ) -- . HandleLidSwitchDocked= "ignore". HandleLidSwitchDocked= ( ) HandleLidSwitchExternalPower= HandleLidSwitch=. HandleSecureAttentionKey= "secure-attention-key" logind ("handle-power-key" "handle-suspend-key" "handle-hibernate-key" "handle-lid-switch" "handle-reboot-key"). . logind Handle*= HandleSecureAttentionKey= v257. 184. PowerKeyIgnoreInhibited=, SuspendKeyIgnoreInhibited=, HibernateKeyIgnoreInhibited=, LidSwitchIgnoreInhibited=, RebootKeyIgnoreInhibited= systemd-logind ("shutdown" "reboot" "sleep" "idle"). ("handle-power-key" "handle-suspend-key" "handle-hibernate-key" "handle-lid-switch" "handle-reboot-key") . . "no" . "yes" "shutdown" "reboot" "sleep" "idle". PowerKeyIgnoreInhibited=, SuspendKeyIgnoreInhibited=, HibernateKeyIgnoreInhibited= RebootKeyIgnoreInhibited= "no". LidSwitchIgnoreInhibited= "yes". systemd-logind ( ) . 190. HoldoffTimeoutSec= systemd . systemd . 0 systemd . systemd . 30s. 220. RuntimeDirectorySize= $XDG_RUNTIME_DIR . K G M T 1024 (IEC). "%" . 10%. . tmpfs . 211. RuntimeDirectoryInodesMax= (inodes) $XDG_RUNTIME_DIR . K G M T 1024 (IEC). RuntimeDirectorySize= 4096. . tmpfs . 246. InhibitorsMax= . 8192 (8K). 230. SessionsMax= . 8192 (8K). pam_systemd.so PAM systemd-logind. 230. RemoveIPC= IPC System V POSIX . . IPC . System V POSIX. IPC . "yes". 212. StopIdleSessionSec= systemd-logind . . "greeter" "lock-screen". "infinity" ( systemd-logind ). systemd.time(7). 252. DesignatedMaintenanceTime= . shutdown -r logind . systemd.time(7). 257. WallMessages= wall(1) . "yes" DBus "EnableWallMessages" "WallMessagePrefix". 258. systemd(1), systemd-logind.service(8), loginctl(1), systemd-system.conf(5) 1. . /usr/local/ . 3 . . : . systemd 260.2 LOGIND.CONF(5)