OPENPAM_RESTORE_CRED(3)

πŸ“¦
version 14.5 Β· 2 versions
, in freebsd 14.5, nixos 26.05, nixpkgs unstable

Bestie, you're reading the OPENPAM_RESTORE_CRED(3) page from the Library Functions Manual, and it's literally about restoring credentials. Let's get into it. πŸ’…


🌸 NAME 🌸

openpam_restore_cred β€” restore credentials. That's the assignment, no cap. 🫢

✨ SYNOPSIS ✨

#include <sys/types.h>
#include <security/pam_appl.h>
#include <security/openpam.h>

int
openpam_restore_cred(pam_handle_t *pamh);

πŸ’– DESCRIPTION πŸ’–

So the openpam_restore_cred() function restores the credentials saved by openpam_borrow_cred(3). That's the whole vibe. πŸ’«

🫢 RETURN VALUES 🫢

The openpam_restore_cred() function returns one of the following values, bestie:

  • [PAM_SUCCESS] β€” Success. Slay. βœ…
  • [PAM_NO_MODULE_DATA] β€” Module data not found. 😭
  • [PAM_SYSTEM_ERR] β€” System error. πŸ’€

πŸ¦‹ SEE ALSO πŸ¦‹

Go peek at these icons:

πŸ‘‘ STANDARDS πŸ‘‘

The openpam_restore_cred() function is an OpenPAM extension. It's giving special edition, iykyk. ✨

🌈 AUTHORS 🌈

The openpam_restore_cred() function and this manual page were developed for the FreeBSD Project by ThinkSec AS and Network Associates Laboratories, the Security Research Division of Network Associates, Inc. under DARPA/SPAWAR contract N66001-01-C-8035 (β€œCBOSS”), as part of the DARPA CHATS research program. Iconic collab, fr fr. πŸ‘‘

The OpenPAM library is maintained by Dag-Erling SmΓΈrgrav <des@des.no>.


Catch you later, bestie β€” this one's from Debian, dated June 27, 2023, and the footer energy is OPENPAM_RESTORE_CRED(3). Periodt. πŸŽ€πŸ’–

πŸ“¦ where this page comes from