Technical article 103554

Minimum length of user account names configurable.

OpenServer 6.0.0OpenServer 5.0.0OpenServer 5.0.2OpenServer 5.0.4OpenServer 5.0.5OpenServer 5.0.6OpenServer 5.0.7UnixWare 7.0.0UnixWare 7.0.1UnixWare 7.1.0UnixWare 7.1.1UnixWare 7.1.2UnixWare 7.1.3UnixWare 7.1.4Open UNIX 8

Written · Last revised

Problem

Can user account names be less than 3 characters or more than 8 characters?

Solution

Since, SCO UNIX System V Release 3.2 Version 4.0 the parameters that allow configuration of user account name lengths are in:

/etc/default/authsh.
By default they are:
MIN_USER_NAME=3
MAX_USER_NAME=8

MIN_USER_NAME may be set to 1 for minimum account name.

However, The documentation in /etc/default/authsh is misleading.

The fact is, it is NOT possible to have a user account name greater than 8 characters on SCO UNIX systems.

The comment "Names over eight (8) characters are not
possible on all systems", applies to ALL current releases
of SCO UNIX System V.  This is a hard coded value.
This restriction has been removed for UnixWare7 and OpenUNIX8 and the
above configuration file is not required.   It is recommended to use
"useradd" to add users as the "scoadmin account" menu restricts you
to 8 characters still.

From the Xinuos technical article database, record 103554. Reproduced with permission. The original is at www.sco.com/ta/103554, which is reachable but blocked from search engines.

Next step

Need this fixed rather than explained?

Tell us the release, what the system runs and what it is doing. We will reply by email with what we would do next.

  • You deal with the people who do the work
  • No obligation, and no upgrade required before we will help
  • We tell you plainly if something is not worth doing

Send an enquiry

We reply by email. If a server is down, say so in the first line. You can also write to help@scoexpert.com.