*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->Tru64 Unix man pages -> passlen (3)              
Title
Content
Arch
Section
 

passlen(3)

Contents


NAME    [Toc]    [Back]

       passlen  -  Determines  minimum  password length (Enhanced
       Security)

SYNOPSIS    [Toc]    [Back]

       #include <sys/types.h> #include <sys/security.h>  #include
       <prot.h>

       int passlen
               time_t life_dur,
               time_t login_delay,
               int alphabet_size );

LIBRARY    [Toc]    [Back]

       Enhanced Security Library (libsecurity)

PARAMETERS    [Toc]    [Back]

       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 password.

DESCRIPTION    [Toc]    [Back]

       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
       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.

NOTES    [Toc]    [Back]

       If  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.

SEE ALSO    [Toc]    [Back]

      
      
       Commands: passwd(1)

       Functions: randomword(3), exp(3), floor(3)



                                                       passlen(3)
[ Back ]
 Similar pages
Name OS Title
acceptable_password Tru64 Determines if a password meets deduction requirements (Enhanced Security)
prpasswd Tru64 Protected password authentication database (Enhanced Security)
prpwd Tru64 Protected password authentication database (Enhanced Security)
getprpwent Tru64 Manipulate protected password database entry (Enhanced Security)
setprpwent Tru64 Manipulate protected password database entry (Enhanced Security)
getprpwuid Tru64 Manipulate protected password database entry (Enhanced Security)
getespwuid Tru64 Manipulate protected password database entry (Enhanced Security)
getespwnam Tru64 Manipulate protected password database entry (Enhanced Security)
putprpwnam Tru64 Manipulate protected password database entry (Enhanced Security)
endprpwent Tru64 Manipulate protected password database entry (Enhanced Security)
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service