chkusr/config.h

50 lines
691 B
C

#define VERSION "1.5.0"
/* For chkgrp */
#ifndef MAX_LINE
#define MAX_LINE 1024
#endif
/* MAX_NAME is also used by chkpwd */
#ifndef MAX_NAME
#define MAX_NAME 256
#endif
/* For chkpwd */
#ifndef MAX_PASSWORD
#define MAX_PASSWORD 256
#endif
#ifndef MAX_UID
#define MAX_UID 1000
#endif
#ifndef MIN_UID
#define MIN_UID 1000
#endif
/* For chkpwr */
#ifndef MAX_PASSWORD_LENGTH
#define MAX_PASSWORD_LENGTH 32
#endif
#ifndef MIN_PASSWORD_LENGTH
#define MIN_PASSWORD_LENGTH 12
#endif
#ifndef MIN_LOWERCASE
#define MIN_LOWERCASE 2
#endif
#ifndef MIN_UPPERCASE
#define MIN_UPPERCASE 2
#endif
#ifndef MIN_DIGITS
#define MIN_DIGITS 2
#endif
#ifndef MIN_SPECIAL
#define MIN_SPECIAL 2
#endif