OPNsense Forum

Archive => 19.1 Legacy Series => Topic started by: mestafin on July 11, 2019, 10:43:23 am

Title: [SOLVED] Root is now read-only
Post by: mestafin on July 11, 2019, 10:43:23 am
I upgraded to the latest version 19.1.9, but now the root user is read-only.
The second admin user is now also read-only.

I can no longer add / edit users.

Also, when I try and edit a route, I get the following error:

User root denied for write access (user-config-readonly set)

How do I fix this?
Title: Re: Root is now read-only
Post by: franco on July 11, 2019, 03:34:19 pm
Do you have console/SSH access?

The file /config/config.xml will have at least one line with:

<priv>user-config-readonly</priv>

You need to delete the lines that root ultimately gets its read-only restriction from (either from root user entry or the group that root user is using).


Cheers,
Franco
Title: Re: Root is now read-only
Post by: franco on July 11, 2019, 03:36:36 pm
PS: It was required to change the behaviour due to security concerns in version 18.7 and 19.1.
Title: Re: Root is now read-only
Post by: mestafin on July 11, 2019, 11:36:40 pm
Thanks
Problem fixed
Title: Re: [SOLVED] Root is now read-only
Post by: franco on July 12, 2019, 08:39:38 am
Sounds good, no problem.  :)