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

  • 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?

Log in to reply