home *** CD-ROM | disk | FTP | other *** search
- /*
- * Copyright 1989, 1990, John F. Haugh II
- * All rights reserved.
- *
- * Use, duplication, and disclosure prohibited without
- * the express written permission of the author.
- */
-
- /*
- * Configuration file for login. (Hacked on badly ...)
- *
- * @(#)config.h 2.6 08:26:28 8/20/90
- */
-
- /*
- * Define SHADOWPWD to use shadow [ unreadable ] password file
- */
-
- #define SHADOWPWD
-
- /*
- * Define DOUBLESIZE to use 16 character passwords
- */
-
- #define DOUBLESIZE
-
- /*
- * Define MAXDAYS to be the default maximum number of days a password
- * is valid for when converting to shadow passwords. Define MINDAYS
- * to be the minimum number of days before a password may be changed.
- * See pwconv.c for more details.
- */
-
- #define MAXDAYS 10000
- #define MINDAYS 0
-
- /*
- * Define WARNAGE to be the number of days notice a user receives
- * of a soon to expire password. Setting this to a value other than
- * -1 will force SVR4-style shadow password entries to be emitted.
- */
-
- #define WARNAGE 10
-
- /*
- * Pick your version of DBM. Only DBM is presently supported, NDBM will
- * follow. You must also define the GETPWENT macro below.
- */
-
- #define DBM
-
- /*
- * Wierd stuff follows ...
- *
- * The following macros exist solely to override stuff ...
- * You will probably want to change their values to suit your
- * fancy.
- */
-
- #define UMASK 022
-
- #define FGETPWENT /* Define if library does not include FGETPWENT */
- #define GETPWENT /* Define if you want my GETPWENT(3) routines */
-