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

    Password Changes and SSH

    Scheduled Pinned Locked Moved General pfSense Questions
    3 Posts 2 Posters 370 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.
    • W
      whiz_kid_uk
      last edited by

      Hey Guys.

      I want to use SSH to change the password on a pfsense (23.05.1-RELEASE (amd64), We use PMP (ManageEngine Password Manager Pro) to manage passwords etc, and I want to be able to change the passwords for both SSH and GUI.

      When I do it at the moment, it changes the SSH password but not the GUI (Web).

      Is there a way to do it ? via ssh ?

      Cheers Guys

      Jez

      johnpozJ 1 Reply Last reply Reply Quote 0
      • johnpozJ
        johnpoz LAYER 8 Global Moderator @whiz_kid_uk
        last edited by

        @whiz_kid_uk I haven't tested it, but I would think the php playbox changepassword would do it?

        0) Logout (SSH only)                  9) pfTop
        1) Assign Interfaces                 10) Filter Logs
        2) Set interface(s) IP address       11) Restart webConfigurator
        3) Reset webConfigurator password    12) PHP shell + Netgate pfSense Plus tools
        4) Reset to factory defaults         13) Update from console
        5) Reboot system                     14) Disable Secure Shell (sshd)
        6) Halt system                       15) Restore recent configuration
        7) Ping host                         16) Restart PHP-FPM
        8) Shell
        
        Enter an option: 12
        
        Starting the Netgate pfSense Plus developer shell....
        
        Welcome to the Netgate pfSense Plus developer shell
        
        Type "help" to show common usage scenarios.
        
        Available playback commands:
            changepassword cryptconfig disablecarp disablecarpmaint disabledhcpd disablereferercheck enableallowallwan enablecarp enablecarpmaint enablesshd externalconfiglocator gatewaystatus generateguicert gitsync installpkg listpkg pfanchordrill pftabledrill removepkgconfig removeshaper resetwebgui restartallwan restartdhcpd restartipsec svc uninstallpkg upgradeconfig 
        
        Netgate pfSense Plus shell:
        

        An intelligent man is sometimes forced to be drunk to spend time with his fools
        If you get confused: Listen to the Music Play
        Please don't Chat/PM me for help, unless mod related
        SG-4860 24.11 | Lab VMs 2.7.2, 24.11

        1 Reply Last reply Reply Quote 1
        • W
          whiz_kid_uk
          last edited by

          johnpoz,

          thanks will give it a try.

          Thank you

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