• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
Netgate Discussion Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login

Manually change a config file

Scheduled Pinned Locked Moved General pfSense Questions
2 Posts 1 Posters 628 Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • N
    Norbert78
    last edited by May 14, 2016, 12:43 PM

    Hi forum,
    I need to change a config file for openvpn manually. The file lays under /var/etc/openvpn and is a client configuration.
    However, when logging in to my pfsens via ssh and changing the file, I always get an error: file cannot be written (even though I'm using sudo). And when I create a new file  in this folder it is gone after a reboot.
    So my question is obvious: What do I have to do to get manual access to such a file?

    Thanks
    Norbert

    1 Reply Last reply Reply Quote 0
    • N
      Norbert78
      last edited by May 14, 2016, 2:03 PM

      Argh, I just found out that I myself put the immutable flag on for this config file. After turning this off, everything behaves again as expected…..

      1 Reply Last reply Reply Quote 0
      1 out of 2
      • First post
        1/2
        Last post
      Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
        This community forum collects and processes your personal information.
        consent.not_received