Hello,
20.7.2 and 20.7.3
I have do some **** on my opnsense.
I was configuring the LDAP but i have create anothe group with the same right as the admins group, si now, i can't remove the group because the is the root user inside it and i can't create another admin user or even a user in local... :'(..
How to fix it?
I found we can remove it if we have another admin user but i don't have another...
Thank you for your help!
https://forum.opnsense.org/index.php?topic=10873.msg49701#msg49701 And about that, i can't see the cloud button
[EDIT] for the cloud button it is here : https://forum.opnsense.org/index.php?topic=12652.0
Do you have shell/console access?
Cheers,
Franco
Hi Franco
yes, i have start to remove the /etc/group with the line associate with the group but i was worry, so i didn't delete it ^^
"3) Reset the root password" should reset root password / authentication backend if needed.
In /conf/config.xml add "<priv>page-all</priv>" to opnsense -> system -> user (with name root) if you don't have privileges for your root user.
Cheers,
Franco
My SSH don't work anymore root account don't work even by rollback the authentication ... :'(... and the GUI too, can't access it...
I will try console to night....
In case i can't login, i guess i can reset the password during the boot process?
EDIT : i guess s i can do this (i hope in console) ? : https://kifarunix.com/how-to-reset-or-recover-root-password-on-opnsense/
I got a Deciso Appliance with console access
And.... shame on my i don't have configure the backup yet... -_-'... because it's a new appliance...
The tutorial is correct, but the script location moved from /usr/local/etc/rc.initial.password to /usr/local/opnsense/scripts/shell/password.php
The installer also has a password recovery reset option.
Cheers,
Franco
Quote from: Georges on September 25, 2020, 09:23:22 AM
My SSH don't work anymore root account don't work even by rollback the authentication ... :'(... and the GUI too, can't access it...
I will try console to night....
In case i can't login, i guess i can reset the password during the boot process?
EDIT : i guess s i can do this (i hope in console) ? : https://kifarunix.com/how-to-reset-or-recover-root-password-on-opnsense/
I got a Deciso Appliance with console access
And.... shame on my i don't have configure the backup yet... -_-'... because it's a new appliance...
I manage to get the console acces by desactivated the password in the console ahah.
I have to add your line here? In the root section?
Maybe i can just remove the groupe i want to remove ahah?
And after reboot or i can reload it without reboot the Deciso appliance?
Any help ? :)
:( any one?
Ok done, i remove the root uid inside the xml part of the other group :)