3 ms·
> like suddenly kill -9'ing all of user's nohup and screen processes when they exited their SSH sessions This was surprising, I was unable to replicate it thou
by aliqot 4y ago
> like suddenly kill -9'ing all of user's nohup and screen processes when they exited their SSH sessions
This was surprising, I was unable to replicate it though. Did you set systemd to automatically clean up sessions?
From the man page of logind.conf,
KillUserProcesses= Takes a boolean argument. Configures whether the processes of a user should be killed when the user logs out. If true, the scope unit corresponding to the session and all processes inside that scope will be terminated.
- josephcsible 4y agoThat is what was doing it, but I didn't set it to do that. It was on by default when it was first released. Since then, the world realized how insane that was and major distros now turn it off for you.
- kevin_b_er 4y agoThe default is 'yes'. For awhile Fedora overrode it no, but then abandoned that: https://fedoraproject.org/wiki/Changes/KillUserProcesses_by_default https://fedoraproject.org/wiki/Changes/KillUserProcesses_by_...