Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
19.1 Legacy Series
»
[SOLVED] Root is now read-only
« previous
next »
Print
Pages: [
1
]
Author
Topic: [SOLVED] Root is now read-only (Read 5200 times)
mestafin
Newbie
Posts: 49
Karma: 2
[SOLVED] Root is now read-only
«
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?
«
Last Edit: July 12, 2019, 08:39:28 am by franco
»
Logged
franco
Administrator
Hero Member
Posts: 17661
Karma: 1611
Re: Root is now read-only
«
Reply #1 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
Logged
franco
Administrator
Hero Member
Posts: 17661
Karma: 1611
Re: Root is now read-only
«
Reply #2 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.
Logged
mestafin
Newbie
Posts: 49
Karma: 2
Re: Root is now read-only
«
Reply #3 on:
July 11, 2019, 11:36:40 pm »
Thanks
Problem fixed
Logged
franco
Administrator
Hero Member
Posts: 17661
Karma: 1611
Re: [SOLVED] Root is now read-only
«
Reply #4 on:
July 12, 2019, 08:39:38 am »
Sounds good, no problem.
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
19.1 Legacy Series
»
[SOLVED] Root is now read-only