Project

General

Profile

Bug #82173

Tone down scare message about usernames longer than 8 characters

Added by Sean McBride over 2 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
No priority
Assignee:
Warren Block
Category:
Documentation
Target version:
Seen in:
Severity:
New
Reason for Closing:
Reason for Blocked:
Needs QA:
Yes
Needs Doc:
Yes
Needs Merging:
Yes
Needs Automation:
No
Support Suite Ticket:
n/a
Hardware Configuration:
ChangeLog Required:
No

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."

History

#1 Updated by Dru Lavigne over 2 years ago

  • Category changed from GUI (new) to Documentation
  • Assignee changed from Release Council to Warren Block
  • Target version changed from Backlog to 11.2-U4

#3 Updated by Jaron Parsons over 2 years ago

  • Status changed from Unscreened to Closed

Also available in: Atom PDF