[systemd-devel] Log out, Reboot and shutdown

Mantas Mikulėnas grawity at gmail.com
Wed Nov 7 06:11:13 PST 2012


On Wed, Nov 7, 2012 at 10:50 AM, Sw at g <sweetthdevil at gmail.com> wrote:
> Dear all,
>
> I used to add lines into /etc/rc.shutdown and /etc/gdm/PostSession/Default
> to terminate script running from a specific users.
>
> Obviously those aren't used any more, which script are run for log out,
> reboot and shut-down?

Is killing something in rc.shutdown even useful? All processes are
terminated during shutdown anyway.

/etc/gdm/PostSession/Default is still used, since it is part of gdm,
not related in any way to systemd or sysvinit.

Also, pam_systemd have options to kill *all* processes of that user or
session after logout. They seem to be broken at the moment, though.

--
Mantas Mikulėnas


More information about the systemd-devel mailing list