PAM_SM_OPEN_SESSION(3)
πΈ NAME πΈ
PAM_SM_OPEN_SESSION(3) β hey bestie, this is the Linux-PAM Manual page for pam_sm_open_session, the PAM service function to start session management π
β¨ SYNOPSIS β¨
#include <security/pam_modules.h>
int pam_sm_open_session(pam_handle_t *pamh, int flags, int argc,
const char **argv);
π«Ά DESCRIPTION π«Ά
okay so pam_sm_open_session is literally the service module's implementation of the pam_open_session(3) interface β¨
This function is called to commence a session. The only valid value for flags is zero or:
PAM_SILENTβ Do not emit any messages. π€«
π RETURN VALUES π
PAM_SESSION_ERRβ Cannot make/remove an entry for the specified session. πPAM_SUCCESSβ The session was successfully started. slay π
π SEE ALSO π
pam(3), pam_open_session(3), pam_sm_close_session(3), pam_strerror(3), PAM(8)
mwah π this iconic little page came from Linux-PAM, dated 07/08/2026 β catch you in the group chat, bestie π«Άβ¨
π¦ where this page comes from
- fedora 44: pam-devel 1.7.2-2.fc44 Β· BSD-3-Clause AND GPL-2.0-or-later
- fedora 44: pam-devel 1.7.2-2.fc44 Β· BSD-3-Clause AND GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms