How to avoid RHEL8+ from spawning "systemd --user" instance on user login
Issue
- On RHEL8+, when a user logs in (using
ssh
,sftp
orftp
), asystemd --user
instance spawns automatically, consuming memory and CPU - On RHEL8+, when a user cron executes, a
systemd --user
instance spawns automatically, consuming memory and CPU
Environment
- Red Hat Enterprise Linux 8 and later (RHEL8+)
- systemd
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.