Andreas Vöst
4 years
Claus-Theodor Riegg
5 years
Marius Schuller
5 years
Claus-Theodor Riegg
8 years
Claus-Theodor Riegg
8 years
Claus-Theodor Riegg
8 years
Marius Schuller
8 years
Claus-Theodor Riegg
9 years
Claus-Theodor Riegg
9 years
Claus-Theodor Riegg
9 years

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

Posted . Visible to the public.

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

# $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.

systemctl restart systemd-logind
Last edit
Kim Klotz
License
Source code in this card is licensed under the MIT License.