Technical article 126978

OSR6:Only 8 characters of my password are utilized.

OpenServer 6.0.0

Written · Last revised

Problem

When using a password with more than 8 characters, only the first 8 are needed to login.

Cause

In the 'low' and 'traditional' security profiles, the password significance is only 8 characters by default. This allows for compatibility with older versions of UNIX and XENIX.

Solution

This behavior is controlled by the u_pwseg parameter in
/etc/auth/system/default.  Password significance is set by
8 characters per segment, so a value of 1, indicates an 8
character significance.

To reconfigure the number of significant segments, use the command:

usermod -D -x "{passwdSignificantSegments value}"

where value is from 1 to 10. A value of 1 (instead of the 10 used in the Improved or High defaults) allows the encryption mechanism to ignore characters following the first eight, thus allowing complete compatibility with other systems.

Alternatively, you could change to the 'improved' or
'high' security profiles, which default to 80 character
significance.  To switch security profiles use the
command:
relax improved

See also

http://osr600doc.xinuos.com/en/UG_admin/uaD.copyxenix.html#uaC.pwcomp
secdefs(ADM), relax(ADM), usermod(ADM)

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