manage pfsense with SSH
-
Hi
Can i use SSH in pfsense to :
-
enable/disable user
-
change password user
I have a pfsense firewall in another site, but i lose my credentials
Thank YOU
-
-
This might help:
https://docs.netgate.com/pfsense/en/latest/usermanager/locked-out-of-the-webgui.html
-
i have disable user admin
any way to show the enabled / disabled user and to enable them ?
-
It looks like pfSense uses the FreeBSD user access control instead of something custom, so you could try:
pw unlock admin
and see if that works.
-
that will not reset the gui settings
there is/etc/rc.initial.password
The webConfigurator admin password and privileges will be reset to the default
that correspond to option 3 of the menu
3) Reset webConfigurator password
-
thank you for all reply
just one last question :
can i make user admin in pfsense via ssh ? if yes , how i can do this ? -
user admin in the gui is user root for ssh, it's the same account
if you want to add a new user with ssh access you can do it from the gui
System / User Manager
add a new user, the privilege would be -> User - System: Shell account access