59 cards
Posted 3 days ago. Visible to the public.

loginctl: Failed to look up user $USER: No such process

When you get this error message from e.g. loginctl show-user [...] after you deleted a user from your system:

Copy
# $USER is the username you deleted loginctl: Failed to look up user $USER: No such process

then you can either switch to a Linux distribution without systemd or restart systemd-logind to fix this problem.

Copy
systemctl restart systemd-logind

Owner of this card:

Avatar
Kim Jahn
Last edit:
3 days ago
by Kim Jahn
This website uses short-lived cookies to improve usability.
Accept or learn more