password length >8

2007-12-25 10:05:00

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 |

+--------------------------------------------------------------------+

Comments

Got something to say?

You must be logged in to post a comment.