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

    Root password reset to default after reboot

    Scheduled Pinned Locked Moved General pfSense Questions
    2 Posts 2 Posters 4.2k 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
      godinperson
      last edited by

      Hi,

      I had to change my root password. So I've connected to SSH, went to the shell, typed passwd and put the new password. Everything worked great until I had to reboot my firewall. After rebooting, the old password was back.

      Why?

      Thanks

      1 Reply Last reply Reply Quote 0
      • jimpJ
        jimp Rebel Alliance Developer Netgate
        last edited by

        The admin user in the GUI is also the root user in the shell (as well as the admin user there)

        To change the root password, you must change the admin password in the GUI, and root will follow.

        The password is synchronized to the OS from the config.xml version at bootup, so any changes you make in the shell alone will not survive a reboot.

        Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

        Need help fast? Netgate Global Support!

        Do not Chat/PM for help!

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