ssh login shell switched to /sbin/nologin

Started by CanadaGuy, September 06, 2023, 04:58:56 PM

Previous topic - Next topic
September 06, 2023, 04:58:56 PM Last Edit: September 06, 2023, 05:01:20 PM by CanadaGuy
We had a power outage today and upon reboot the WebUI wasn't loading. I tried to SSH to restart the WebUI, but I was getting a keyboard-interactive prompt despite knowing the password was correct. After restarting opnsense, I could get back into the UI and noticed the result in the attached image. After returning it to /bin/sh for my user, I could login as usual.

Could this have happened during the 23.7 update? I rarely SSH in so it's possible it was due to an issue from a while ago. Anyone else have this problem?

Update: I just found this post https://forum.opnsense.org/index.php?topic=35415.msg171845

Did you run a health audit ? Filesystem clean on boot ?

health audit? is that an opnsense thing? I wasn't able to access as it is headless, and the reboot restored things. It was routing and reading the config just fine as all my subnets were doing what they were supposed to do.