Technical article 110338

I can't create an account login that is only two characters long.

OpenServer 5.0.0OpenServer 5.0.2OpenServer 5.0.4

Written · Last revised

Problem

The 'useradd' command and the user administration utility does not allow me to add a short user name that is only two characters long.

Solution

Edit these two files:
/etc/default/accounts
/etc/auth/authsh

Change the MIN_USER_NAME entry from 3 to 2 in both files:

MIN_USER_NAME=2

You should now be able to create two-character user names.

From the Xinuos technical article database, record 110338. Reproduced with permission. The original is at www.sco.com/ta/110338, 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.