Unable to open /cf/conf/config.xml for writing in write_config() when set easyrule from ssh
-
I am using user "ssh" and assinged admins group to ssh pfsense from another server.
When i set easyrule such as "easyrule block wan 192.168.2.3", i met a bug from webGUI: "Unable to open /cf/conf/config.xml for writing in write_config()" and rule not was added on firewall rule.
Please let me know if you find out solution
Thank you -
You have to use the root/admin user to do that, or install the
sudo
package and run the command usingsudo
to allow your low-privilege account to take an action like that. -
Thank you, i found another way to set easyrule.