SUMMARY: password length >8

From: Alan Miller (alan@bintec.de)
Date: Wed May 10 2000 - 03:16:55 CDT


Original Question:
  Is it possible to setup a minimum NIS password length >8 characters?

Repsondents:
  Casper Dik <Casper.Dik@holland.sun.com>
  Vern Walls <Vern.Walls@parsons.com>
  jonathan.loh <jonathan.loh@bankofamerica.com>
  Matthew Stier <Matthew.Stier@tddny.fujitsu.com>
  Todd Herr <therr@va.rr.com>
  Todd M. Wilkinson <tmwilkin@mail.com>
  Tom Lichti <rmslashstar@home.com>
  Lefteris Skapetis <skapetis@intranet.gr>
  
Answer:
  No.
  The bottleneck is the crypt(3c) function which states:

    ...[snip]
    char *crypt (const char *key, const char *salt);
    
    The key argument points to a string to be encoded (for exam-
    ple, the user's password.) Only the first eight characters
    are used; the rest are ignored.
    ...[snap]

Alan

+--------------------------------------------------------------------+
| Alan Miller BinTec Commmunications AG |
| System/Network Administrator Südwestpark 94 |
| Voice: +49 911 96 73 14 55 D-90449, Nürnberg |
| Fax: +49 911 96 73 14 99 Germany |
| mailto:alan@bintec.de http://www.BinTec.de |
+--------------------------------------------------------------------+



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:14:07 CDT