Edit File how to save ?
-
I am trying to use the Edit File package via WebGUI, load file, save but changes never get committed after I reopen it again.
What am I missing ?
-
I take it your on 2.5/21.02?
You click the save button.. It will say saved..
Here I edited my etc/hosts file - added an entry.. Hit saved, then from prompt did a cat of the file and you can see my edit is there.
What specific file are you trying to edit?
-
i do this
AllowAgentForwarding yes - changed to yes, File saved successfully.
Reload sshd and saved changes are gone.
Sounds like reload keeps the initial settings...
hmm.... dunno -
You can not edit that file, settings are stored in xml.. So reload would recreate the config from the xml settings.
Just set that here
-
@johnpoz said in Edit File how to save ?:
You can not edit that file, settings are stored in xml.. So reload would recreate the config from the xml settings.
Wow, that's cool
How would you edit it then ? -
see my edit.. posted pic of where
-
@johnpoz said in Edit File how to save ?:
see my edit.. posted pic of where
Got that, thx!
However it did not fix my issue https://forum.netgate.com/topic/161275/x11-forwarding-request-failed-on-channel-0-after-2-5-0 :(