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

  man pages->NetBSD man pages -> pw_getconf (3)              
Title
Content
Arch
Section
 

PW_GETCONF(3)

Contents


NAME    [Toc]    [Back]

     pw_getconf - password encryption configuration access function

LIBRARY    [Toc]    [Back]

     System Utilities Library (libutil, -lutil)

SYNOPSIS    [Toc]    [Back]

     #include <util.h>

     void
     pw_getconf(char *data, size_t len, const char *key, const char *option);

DESCRIPTION    [Toc]    [Back]

     The pw_getconf() function reads /etc/passwd.conf and retrieves the value
     of the option specified by option from the section given by key.  If no
     suitable entry is found for the key an empty string will be returned in
     data.

     To retrieve default values the key default can be used.  In this case, if
     /etc/passwd.conf does not exist or does not contain a default section,
     the built-in defaults will be returned.  They are as follows:

           option         data
           ypcipher       old
           localcipher    old

     An empty string is returned for all errors.

FILES    [Toc]    [Back]

     /etc/passwd.conf

SEE ALSO    [Toc]    [Back]

      
      
     passwd(5), passwd.conf(5)

HISTORY    [Toc]    [Back]

     The pw_getconf() function first appeared in NetBSD 1.6.

BSD                              July 6, 2000                              BSD
[ Back ]
 Similar pages
Name OS Title
crypt NetBSD password encryption
encrypt NetBSD password encryption
setkey NetBSD password encryption
crypt Linux password and data encryption
EVP_BytesToKey OpenBSD password based encryption routine
crypt IRIX password and file encryption functions
Config IRIX access Perl configuration information
ifaccess.conf Tru64 Interface access filter configuration file
ldap.conf IRIX Lightweight Directory Access Protocol configuration file
des_crypt Tru64 Data Encryption Standard (DES) encryption library routines (Auth)
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service