Why can't I log in as 'root' over SSH if I disable the 'admin' user?
-
@nollipfsense
That was not the case prior to version 2.6. -
@scilek said in Why can't I log in as 'root' over SSH if I disable the 'admin' user?:
@nollipfsense
That was not the case prior to version 2.6.It has been since I joined pfSense just prior to v2.4.
-
@scilek
Go to System > User Manager > Users > admin and remove the WebCfg privileges from the user. -
@scilek said in Why can't I log in as 'root' over SSH if I disable the 'admin' user?:
@nollipfsense
That was not the case prior to version 2.6.https://forum.netgate.com/topic/169323/2-6-0-rc-bugs/6
-
@nollipfsense
I just connected to a router running version 2.5.2 to check. The admin user is disabled but I can still log in as root over SSH. -
@viragomann
I did that, but I can still log in to the web interface as admin. -
@ptt said in Why can't I log in as 'root' over SSH if I disable the 'admin' user?:
@scilek said in Why can't I log in as 'root' over SSH if I disable the 'admin' user?:
@nollipfsense
That was not the case prior to version 2.6.https://forum.netgate.com/topic/169323/2-6-0-rc-bugs/6
Okay, learned something new today as I have always used admin for webGUI and SSH.
-
@scilek And it was fixed in v2.6/22.01
-
Just to be clear this was a bug in versions prior to 2.6:
https://redmine.pfsense.org/issues/12346You should never have been able to login using a disabled account via SSH. It's now fixed.
Steve
-
@stephenw10
It was the most convenient bug in the history of computing.