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

    Usernames longer than 16 characters?

    Scheduled Pinned Locked Moved 2.0-RC Snapshot Feedback and Problems - RETIRED
    2 Posts 2 Posters 2.0k 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.
    • D Offline
      disa
      last edited by

      Hi,
      is it possible to have users with a username longer than 16 characters? on the gui everything looks ok, but when I add the user on the logs I can see

      php: /system_usermanager.php: The command '/usr/sbin/pw userdel ***LOONGNAME*** -r' returned exit code '65', the output was 'pw: name too long `ric******' (max is 16)'
      

      Is this a freebds limit? If so, maybe the gui shouldn't let us input longer names

      (I couldn't find the log for the user add, but it is not created!)

      thanks

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

        Thanks for catching that. I commited a fix: https://rcs.pfsense.org/projects/pfsense/repos/mainline/commits/94d455da18258787132860d8ee203a3523a7d9b3

        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.