I turned the portal cautivo lost the password administrator

Started by the_wolf, July 14, 2017, 04:24:05 PM

Previous topic - Next topic


I got it from, just enter in single mode and mount with
mount-u /
and run su.
The screen appears to reset your password.

Hi there,

The config.xml under /conf carries the password. The system will try to reset your attempts to get in on the next boot, because you are trying to control the FreeBSD system, not the OPNsense system.

If you hit CTRL+C during early boot you can get to the shell and use it to edit /conf/config.xml -- there is a <password> line in /usr/local/etc/config.xml that you can use to restore the old "opnsense" password, reboot cleanly and log in to change your password again to something that you will remember.

If you have secured console access, unlock the console from the GUI system administration settings to provide an easy failsafe to the system, where you can even reset the root password (option "3" or "4" I think).


Cheers,
Franco


Hi,

I try command but,

mount -u /
mount -a
passwd

pam_chauthtok(): error in service module

not change password

Help me,