• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
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 Oct 31, 2023, 5:23 PM

    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

    J 1 Reply Last reply Oct 31, 2023, 6:13 PM Reply Quote 0
    • J
      johnpoz LAYER 8 Global Moderator @whiz_kid_uk
      last edited by Oct 31, 2023, 6:13 PM

      @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 Nov 3, 2023, 7:02 AM

        johnpoz,

        thanks will give it a try.

        Thank you

        1 Reply Last reply Reply Quote 0
        3 out of 3
        • First post
          3/3
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
          This community forum collects and processes your personal information.
          consent.not_received