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

    Making certain changes (for outbound serial consoles) persistent across reboots.

    Scheduled Pinned Locked Moved General pfSense Questions
    1 Posts 1 Posters 222 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.
    • G
      gushi
      last edited by

      Hey all,

      I believe we're running the official PfSense hardware release.

      Netgate RCC-DFF
      Serial: 1008160656
      Netgate Device ID: bee530a35c1d276c1461

      Mount looks like:

      /dev/ufsid/5636b6f547925a39 on / (ufs, local, journaled soft-updates)
      devfs on /dev (devfs, local)
      /dev/md0 on /var/run (ufs, local)
      devfs on /var/dhcpd/dev (devfs, local)

      We have a serial console device attached to our pfsense box, which exists to let a few shell users get into their systems.

      One of the things it seems we need to do to make that work is add those users to the unix group "dialer".  This works from the command line but doesn't seem to be preserved across reboots.

      It seems the Web Gui has its own concept of groups that has nothing to do with the unix-level groups (even though there's an "admins" group on both sides).

      Alternatively, we could tweak the ownership of the files in /dev using a devfs.conf entry, but I don't know if those are reboot-proof/upgrade proof either.

      We also would like to be able to keep the file "/etc/remote" up to our custom changes so it doesn't get stomped on an OS upgrade.

      It also seems if we change a user's password from the shell, it's not preserved across reboots?  (Maybe it's reset from the XML file at boot?)

      Are these things easily possible?

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