1libpam(3LIB) Interface Libraries libpam(3LIB)
2
3
4
6 libpam - PAM (Pluggable Authentication Module) library
7
9 cc [ flag... ] file... -lpam [ library... ]
10 #include <security/pam_appl.h>
11
12
14 Functions in this library provide routines for the Pluggable Authenti‐
15 cation Module (PAM).
16
18 The shared object libpam.so.1 provides the public interfaces defined
19 below. See Intro(3) for additional information on shared object inter‐
20 faces.
21
22
23
24
25 pam_acct_mgmt pam_authenticate
26 pam_chauthtok pam_close_session
27 pam_end pam_get_data
28 pam_get_item pam_get_user
29 pam_getenv pam_getenvlist
30 pam_open_session pam_putenv
31 pam_set_data pam_set_item
32 pam_setcred pam_start
33 pam_strerror
34
35
37 /lib/libpam.so.1
38
39 shared object
40
41
42 /etc/pam.conf
43
44 configuration file
45
46
47 /usr/lib/security/pam_dial_auth.so.1
48
49 authentication management PAM module for dialups
50
51
52 /usr/lib/security/pam_rhosts_auth.so.1
53
54 authentication management PAM modules that use ruserok()
55
56
57 /usr/lib/security/pam_sample.so.1
58
59 sample PAM module
60
61
63 See attributes(5) for description of the following attributes:
64
65
66
67
68 ┌─────────────────────────────┬─────────────────────────────┐
69 │ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
70 ├─────────────────────────────┼─────────────────────────────┤
71 │Availability │SUNWcsl │
72 ├─────────────────────────────┼─────────────────────────────┤
73 │MT Level │MT-Safe with exceptions │
74 └─────────────────────────────┴─────────────────────────────┘
75
77 pvs(1), Intro(3), pam(3PAM), pam.conf(4), attributes(5), pam_auth‐
78 tok_check(5), pam_authtok_get(5), pam_authtok_store(5),
79 pam_dial_auth(5), pam_dhkeys(5), pam_passwd_auth(5),
80 pam_rhosts_auth(5), pam_sample(5), pam_unix_account(5),
81 pam_unix_auth(5), pam_unix_session(5)
82
84 The functions in libpam are MT-Safe only if each thread within the mul‐
85 tithreaded application uses its own PAM handle.
86
87
88 The pam_unix(5) module is no longer supported. Similar functionality is
89 provided by pam_authtok_check(5), pam_authtok_get(5), pam_auth‐
90 tok_store(5), pam_dhkeys(5), pam_passwd_auth(5), pam_unix_account(5),
91 pam_unix_auth(5), and pam_unix_session(5).
92
93
94
95SunOS 5.11 24 Mar 2004 libpam(3LIB)