Read more

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

Avatar
Kim Klotz
July 21, 2021Software engineer at makandra GmbH

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
Illustration book lover

Growing Rails Applications in Practice

Check out our e-book. Learn to structure large Ruby on Rails codebases with the tools you already know and love.

  • Introduce design conventions for controllers and user-facing models
  • Create a system for growth
  • Build applications to last
Read more Show archive.org snapshot

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

systemctl restart systemd-logind
Posted by Kim Klotz to makandra Operations (2021-07-21 09:28)