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

    how can I permanently save manually added freeradius user using DIAGNOSTIC -EDIT FILE

    Scheduled Pinned Locked Moved General pfSense Questions
    4 Posts 4 Posters 522 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.
    • A
      allanix
      last edited by

      Hello everyone, I'm having trouble saving the file that I edited under Diagnostic-Edit File. I manually added hundreds of Freeradius users.

      04c477b8-99b3-4606-8269-8a2c25f20b52-image.png

      It says it's saving, but it will be gone once I restarted the service.

      Any suggestions on how can I save it permanently?

      Thank you in advance.

      GertjanG 1 Reply Last reply Reply Quote 0
      • Dobby_D
        Dobby_
        last edited by

        Did you try out to stop the service first and then make
        the changes? Second you could try out to edit the file in the console.

        #~. @Dobby

        Turris Omnia - 4 Ports - 2 GB RAM / TurrisOS 7 Release (Btrfs)
        PC Engines APU4D4 - 4 Ports - 4 GB RAM / pfSense CE 2.7.2 Release (ZFS)
        PC Engines APU6B4 - 4 Ports - 4 GB RAM / pfSense+ (Plus) 24.03_1 Release (ZFS)

        1 Reply Last reply Reply Quote 0
        • GertjanG
          Gertjan @allanix
          last edited by Gertjan

          @allanix said in how can I permanently save manually added freeradius user using DIAGNOSTIC -EDIT FILE:

          It says it's saving, but it will be gone once I restarted the service.

          pfSense is a "Use the GUI to do all the settings".
          Do not 'touch' any file.
          And no, there is no 'import all the FreeRadius users' tool.

          But do check the file you obtained from here : Diagnostics Backup & Restore Backup & Restore h: it's a XML file. Everything ( ! ) is there, also the Freeradius users.
          That file, you could edit, and there is only one rule : respect the format, and you'll be fine.

          When done, import the config.xml file.
          And suddenly, you'll find all your Freeradius users under Services > FreeRADIUS > Users

          No "help me" PM's please. Use the forum, the community will thank you.
          Edit : and where are the logs ??

          1 Reply Last reply Reply Quote 1
          • stephenw10S
            stephenw10 Netgate Administrator
            last edited by

            Yes, that file, like everything else, is generated from data in the main config. So after a restart manual changes there would be replaced.

            1 Reply Last reply Reply Quote 0
            • First post
              Last post
            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.