Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
23.7 Legacy Series
»
ssh login shell switched to /sbin/nologin
« previous
next »
Print
Pages: [
1
]
Author
Topic: ssh login shell switched to /sbin/nologin (Read 1135 times)
CanadaGuy
Newbie
Posts: 20
Karma: 0
ssh login shell switched to /sbin/nologin
«
on:
September 06, 2023, 04:58:56 pm »
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
«
Last Edit: September 06, 2023, 05:01:20 pm by CanadaGuy
»
Logged
newsense
Hero Member
Posts: 1037
Karma: 77
Re: ssh login shell switched to /sbin/nologin
«
Reply #1 on:
September 06, 2023, 06:12:36 pm »
Did you run a health audit ? Filesystem clean on boot ?
Logged
CanadaGuy
Newbie
Posts: 20
Karma: 0
Re: ssh login shell switched to /sbin/nologin
«
Reply #2 on:
September 06, 2023, 06:39:45 pm »
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.
Logged
franco
Administrator
Hero Member
Posts: 17661
Karma: 1611
Re: ssh login shell switched to /sbin/nologin
«
Reply #3 on:
September 06, 2023, 09:29:01 pm »
Let's discuss this here:
https://forum.opnsense.org/index.php?topic=35415.0
Cheers,
Franco
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
23.7 Legacy Series
»
ssh login shell switched to /sbin/nologin