[SOLVED] Root is now read-only

Started by mestafin, July 11, 2019, 10:43:23 AM

Previous topic - Next topic
July 11, 2019, 10:43:23 AM Last Edit: July 12, 2019, 08:39:28 AM by franco
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?

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

PS: It was required to change the behaviour due to security concerns in version 18.7 and 19.1.