Uploaded image for project: 'FreeNAS / TrueNAS'
  1. FreeNAS / TrueNAS
  2. NAS-101158

Clarify new UI message about usernames longer than 8 characters

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Done (View Workflow)
    • Priority: Low
    • Resolution: Complete
    • Affects Version/s: None
    • Fix Version/s: 11.2-U4
    • Component/s: Documentation
    • Labels:
      None

      Description

      When you create a new user with a user name longer than 8 characters, FreeNAS says:

      "Usernames of 8 characters or less are recommended for compatibility with application software, but up to 16 characters are allowed."

      This seem to come from:
      https://redmine.ixsystems.com/issues/52116

      I asked here:
      https://www.ixsystems.com/community/threads/usernames-of-8-characters-or-less-are-recommended-for-compatibility-with-application-software-but-up-to-16-characters-are-allowed.74715/#post-518912

      And it seems the warning ultimately comes from:
      From https://www.freebsd.org/cgi/man.cgi?query=adduser&sektion=8&manpath=freebsd-release-ports

      RESTRICTIONS
      username
      Login name. The user name is restricted to whatever pw(8) will
      accept. Generally this means it may contain only lowercase char-
      acters or digits but cannot begin with the `' character. Maxi
      mum length is 16 characters. The reasons for this limit are his-
      torical. Given that people have traditionally wanted to break
      this limit for aesthetic reasons, it has never been of great
      importance to break such a basic fundamental parameter in UNIX.
      You can change UT_NAMESIZE in <utmp.h> and recompile the world;
      people have done this and it works, but you will have problems
      with any precompiled programs, or source that assumes the 8-char-
      acter name limit, such as NIS. The NIS protocol mandates an
      8-character username. If you need a longer login name for e-mail
      addresses, you can define an alias in /etc/mail/aliases.

      I have a feeling that only truly ancient software is going to have an problems with 9 to 16 character usernames, and that FreeNAS is needlessly discouraging their use.

      Maybe instead of:

      "Usernames of 8 characters or less are recommended for compatibility with application software, but up to 16 characters are allowed."

      how about:

      "Up to 16 characters are allowed. Usernames of more than 8 characters may not work with very old software such as NIS."

        Attachments

        1. user1.png
          user1.png
          39 kB
        2. user2.png
          user2.png
          11 kB

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                wblock Warren Block (Inactive)
                Reporter:
                seanm Sean McBride
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:

                    Summary Panel