Is there a way (other than permit root login on the target machine) to work-around the following:

$ ssh
user@'s password:
"System is booting up. Unprivileged users are not permitted to log in yet. Please come back later. For technical details, see pam_nologin(8)."

I am trying to debug remotely a failure to start an X session.

At this time, the following link is not working for me:

  • I'm not sure, but maybe deleting /run/nologin with cron on reboot helps you?
    – Panki
    Dec 13 '18 at 13:29

This issue may come from /run/nologin. /run/nologin is created by systemd-tmpfiles-setup.service. It is then removed by systemd-user-sessions.service.

So you have to delete this:

$ ls -l /run/nologin
# rm /run/nologin

Let us know if it works! Good Luck!

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.