*** UNIX MANUAL PAGE BROWSER ***

A Nergahak database for man pages research.

Navigation

Directory Browser

1Browse 4.4BSD4.4BSD
1Browse Digital UNIXDigital UNIX 4.0e
1Browse FreeBSDFreeBSD 14.3
1Browse MINIXMINIX 3.4.0rc6-d5e4fc0
1Browse NetBSDNetBSD 10.1
1Browse OpenBSDOpenBSD 7.7
1Browse UNIX v7Version 7 UNIX
1Browse UNIX v10Version 10 UNIX

Manual Page Search

Manual Page Result

0 Command: passlen | Section: 3 | Source: Digital UNIX | File: passlen.3.gz
passlen(3) Library Functions Manual passlen(3) NAME passlen - Determines minimum password length (Enhanced Security) LIBRARY Security Library (libsecurity.a) SYNOPSIS #include <sys/types.h> #include <sys/security.h> #include <prot.h> int passlen( time_t life_dur, time_t login_delay, int alphabet_size); PARAMETERS Specifies the password lifetime duration for an account (in seconds). Specifies the amount of time (in seconds) between login attempts. Specifies the number of distinct characters that can be used in a pass- word. DESCRIPTION The passlen() function takes the password lifetime duration life_dur for an account and the login_delay between login attempts, both values in seconds, and the alphabet_size of distinct characters, and returns the minimum password length according to the algorithm in the DoD Pass- word Management Guideline (the Green Book). The parameter that speci- fies the probability of guessing a password is fixed to the value of 1 chance in a million. NOTES If the life_dur or prob_guess parameters change in the protected pass- word database for this account (or for the system default if those val- ues are used in an account), it is a good idea to invalidate the pass- word in case the new parameters require a longer minimum password length. Programs using this function must be compiled with -lsecurity. delim off RELATED INFORMATION Functions: randomword(3), exp(3), floor(3). Commands: passwd(1). delim off passlen(3)

Navigation Options