Query: passlen
OS: osf1
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
passlen(3) Library Functions Manual passlen(3)NAMEpasslen - Determines minimum password length (Enhanced Security)LIBRARYSecurity Library - libsecurity.soSYNOPSIS#include <sys/types.h> #include <sys/security.h> #include <prot.h> int passlen( time_t life_dur, time_t login_delay, int alphabet_size);PARAMETERSSpecifies 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 password.DESCRIPTIONThe 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 Password Management Guideline (the Green Book). The parameter that specifies the probability of guessing a password is fixed to the value of 1 chance in a million.NOTESIf the life_dur or prob_guess parameters change in the protected password database for this account (or for the system default if those values are used in an account), it is a good idea to invalidate the password in case the new parameters require a longer minimum password length. Programs using this function must be compiled with -lsecurity. delim offRELATED INFORMATIONFunctions: randomword(3), exp(3), floor(3). Commands: passwd(1). delim off passlen(3)
Related Man Pages |
---|
sasl_server_userdb_checkpass_t(3) - centos |
yppasswd(1) - osf1 |
acceptable_password(3) - osf1 |
passlen(3) - osf1 |
sasl_setpass(3) - linux |
Similar Topics in the Unix Linux Community |
---|
cannot logon HP-UX with the account more than 8 characters |
Password Construction |
minimum password length |
Root password lifetime default |
Finding distinct characters from flat file |