OPNsense Forum

English Forums => General Discussion => Topic started by: opnsenuser on February 11, 2022, 08:26:21 PM

Title: reset access to useraccount via cli
Post by: opnsenuser on February 11, 2022, 08:26:21 PM
Hi,
I have the situation that the password for the WebUI useraccount is lost.
The root account can't login via the webUI even after the reset via the "opnsense-shell password" in singleuser mode with rw remounted root.
Reseting the useraccount with passwd in singleuser and @runtime did not change the situation. 
Is there any way to reset the passwords of "normal" Webusers via the cli.

BR
opnsenuser   
Title: Re: reset access to useraccount via cli
Post by: pankaj on February 12, 2022, 03:57:55 AM
For these reasons I always create a "backup_admin" user, the password manager stores it for me and don't have to worry about copying it anywhere.

I had a similar situation but got lucky connecting directly to the serial port of my firewall appliance and reset few things.