[systemd-devel] how to prevent systemd-logind from moving process to other cgroups when executing su command
Silvio Knizek
killermoehre at gmx.net
Tue May 25 16:36:33 UTC 2021
Am Dienstag, dem 25.05.2021 um 22:23 +0800 schrieb 吾为男子:
> Systemd provides pam_systemd.so for PAM module and for many commands,
> such as su command, pam_systemd.so will be called and the process
> will be moved to the cgroup that systemd managed.
Regardless your problem, `su` is never the solution.
What actual problem do you want to solve? Have you checked out
`systemd-run`? Do you want to run some `init` scripts from $vendor
stuck in 2002?
More information about the systemd-devel
mailing list