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

    Need help with maximum length of pfsense login password

    Scheduled Pinned Locked Moved Problems Installing or Upgrading pfSense Software
    3 Posts 3 Posters 1.4k 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.
    • M Offline
      Mithrondil
      last edited by

      I have set my user password to 256 for my pfsense rig and now it says the password is wrong. I suspect I have chosen a way to long password.

      Whats the maximum length of passwords for pfsense logins?

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

        "I have set my user password to 256"

        For what possible reason would you do such a thing??

        I would assume from
        https://www.freebsd.org/cgi/man.cgi?query=passwd&apropos=0&sektion=0&manpath=FreeBSD+11-current&arch=default

        The total length of the password must be less than _PASSWORD_LEN (currently 128 characters).

        If you put in something longer it should just truncate.. And you would just need to put in the first 128…  But even at 128 as the limit, this seems magnitudes higher than any sane person would attempt to use as their password.

        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.8, 24.11

        1 Reply Last reply Reply Quote 0
        • D Offline
          doktornotor Banned
          last edited by

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