pfSense SSH Going straight to shell not getting pfSense console
Title says it, when I SSH into once of the pfSense boxes at one of our sites it's dropping straight to shell instead of going to the console and no I am not running a DEVEL version. Anyone have any ideas what could be causing this?
This happens when the user default shell is /bin/tcsh. Change the default to /etc/rc.initial to get console or run /etc/rc.initial manually.
Yes, and that's the default for any user except root/admin.
Awesome, set it up so the rc.initial shell is now default for all existing and new users.
@trees-spanning-the-land Could you send a link as to how to make this change? I can't find it in the GUI, so i'm assuming it's a file to edit?
KOM last edited by KOM
Could you send a link as to how to make this change?
chsh -s /path/to/new/shell
chsh -s /etc/rc.initial
or just run
and then change the Shell= line
Thanks, but i get this error and the change doesn't stick.
chsh: /etc/rc.initial: non-standard shell
KOM last edited by
I have no idea if that's a valid shell. I was just showing you how to change it.
Thanks. I can just run "/etc/rc.initial" and it fires up the shell. Strange. I'll test on another pfSense box.