Deleted Added
full compact
openpam_restore_cred.3 (271614) openpam_restore_cred.3 (271624)
1.\" Generated from openpam_restore_cred.c by gendoc.pl
2.\" $Id: openpam_restore_cred.c 648 2013-03-05 17:54:27Z des $
1.\" Generated from openpam_restore_cred.c by gendoc.pl
2.\" $Id: openpam_restore_cred.c 648 2013-03-05 17:54:27Z des $
3.Dd September 7, 2013
3.Dd September 12, 2014
4.Dt OPENPAM_RESTORE_CRED 3
5.Os
6.Sh NAME
7.Nm openpam_restore_cred
8.Nd restore credentials
9.Sh LIBRARY
10.Lb libpam
11.Sh SYNOPSIS
12.In sys/types.h
13.In security/pam_appl.h
14.In security/openpam.h
15.Ft "int"
16.Fn openpam_restore_cred "pam_handle_t *pamh"
17.Sh DESCRIPTION
18The
19.Fn openpam_restore_cred
20function restores the credentials saved by
21.Xr openpam_borrow_cred 3 .
22.Pp
23.Sh RETURN VALUES
24The
25.Fn openpam_restore_cred
26function returns one of the following values:
27.Bl -tag -width 18n
28.It Bq Er PAM_NO_MODULE_DATA
29Module data not found.
30.It Bq Er PAM_SYSTEM_ERR
31System error.
32.El
33.Sh SEE ALSO
34.Xr setegid 2 ,
35.Xr seteuid 2 ,
36.Xr setgroups 2 ,
37.Xr openpam_borrow_cred 3 ,
38.Xr pam 3 ,
39.Xr pam_strerror 3
40.Sh STANDARDS
41The
42.Fn openpam_restore_cred
43function is an OpenPAM extension.
44.Sh AUTHORS
45The
46.Fn openpam_restore_cred
47function and this manual page were
48developed for the
49.Fx
50Project by ThinkSec AS and Network Associates Laboratories, the
51Security Research Division of Network Associates, Inc.\& under
52DARPA/SPAWAR contract N66001-01-C-8035
53.Pq Dq CBOSS ,
54as part of the DARPA CHATS research program.
55.Pp
56The OpenPAM library is maintained by
57.An Dag-Erling Sm\(/orgrav Aq des@des.no .
4.Dt OPENPAM_RESTORE_CRED 3
5.Os
6.Sh NAME
7.Nm openpam_restore_cred
8.Nd restore credentials
9.Sh LIBRARY
10.Lb libpam
11.Sh SYNOPSIS
12.In sys/types.h
13.In security/pam_appl.h
14.In security/openpam.h
15.Ft "int"
16.Fn openpam_restore_cred "pam_handle_t *pamh"
17.Sh DESCRIPTION
18The
19.Fn openpam_restore_cred
20function restores the credentials saved by
21.Xr openpam_borrow_cred 3 .
22.Pp
23.Sh RETURN VALUES
24The
25.Fn openpam_restore_cred
26function returns one of the following values:
27.Bl -tag -width 18n
28.It Bq Er PAM_NO_MODULE_DATA
29Module data not found.
30.It Bq Er PAM_SYSTEM_ERR
31System error.
32.El
33.Sh SEE ALSO
34.Xr setegid 2 ,
35.Xr seteuid 2 ,
36.Xr setgroups 2 ,
37.Xr openpam_borrow_cred 3 ,
38.Xr pam 3 ,
39.Xr pam_strerror 3
40.Sh STANDARDS
41The
42.Fn openpam_restore_cred
43function is an OpenPAM extension.
44.Sh AUTHORS
45The
46.Fn openpam_restore_cred
47function and this manual page were
48developed for the
49.Fx
50Project by ThinkSec AS and Network Associates Laboratories, the
51Security Research Division of Network Associates, Inc.\& under
52DARPA/SPAWAR contract N66001-01-C-8035
53.Pq Dq CBOSS ,
54as part of the DARPA CHATS research program.
55.Pp
56The OpenPAM library is maintained by
57.An Dag-Erling Sm\(/orgrav Aq des@des.no .