


PAM Library Functions                              pam_exts(3PAM)



NNNNAAAAMMMMEEEE
     pam_eval - module control over PAM configuration

SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
     cc [ flag ... ] file ... -lpam [ library ... ]
     #include <security/pam_appl.h>
     #include <security/pam_modules.h>

     int pam_eval(pam_handle_t *pamh, const char *conf_path);

DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
     _p_a_m__e_v_a_l() causes PAM to evaluate the configuration for the
     current stack (auth, account, password or session) listed in
     the file named by ccccoooonnnnffff____ppppaaaatttthhhh.  If ccccoooonnnnffff____ppppaaaatttthhhh is not an
     absolute path then "/usr/lib/security/" will be prepended to
     it.

     _p_a_m__e_v_a_l() does not have non-local exits, so if a binding
     module in the given ccccoooonnnnffff____ppppaaaatttthhhh returns PAM_SUCCESS then
     _p_a_m__e_v_a_l() still returns to its caller.

     The named configuration file has the same format as
     pam._c_o_n_f(4) and must include the service name field just as
     /etc/pam.conf.  _p_a_m__e_v_a_l() will load the configuration for
     the PAM_SERVICE from ccccoooonnnnffff____ppppaaaatttthhhh or, if none can be found, for
     the "other" service, as usual.

RRRREEEETTTTUUUURRRRNNNN VVVVAAAALLLLUUUUEEEESSSS
     _p_a_m__e_v_a_l() returns the value produced by evaluating the
     given configuration (including PAM_SYSTEM_ERR if the
     configuration could not be loaded or parsed).  If all
     modules in the named configuration return PAM_IGNORE then
     _p_a_m__e_v_a_l() returns PAM_IGNORE as well, rather than the
     default error for the current stack (e.g., PAM_AUTH_ERR).

AAAATTTTTTTTRRRRIIIIBBBBUUUUTTTTEEEESSSS
     See _a_t_t_r_i_b_u_t_e_s(5) for descriptions of the following
     attributes:

     ____________________________________________________________
     |       ATTRIBUTE TYPE        |       ATTRIBUTE VALUE
     |
     |_____________________________|_____________________________|
     | Interface Stability         | Stable
     |
     |_____________________________|_____________________________|
     | MT-Level                    | MT-Safe with exceptions
     |
     |_____________________________|_____________________________|

SSSSEEEEEEEE AAAALLLLSSSSOOOO
     _p_a_m(3PAM), pam._c_o_n_f(4), _p_a_m__u_n_i_x__u_s_e_r__p_o_l_i_c_y(5).




21/Apr/105              Last change: 5.11                       1






PAM Library Functions                              pam_exts(3PAM)























































21/Apr/105              Last change: 5.11                       2






