The
pam_open_session sets up a user session for a previously authenticated user. The session should later be torn down by a call to
pam_close_session(3).
The
flags argument is the binary or of zero or more of the following values:
PAM_SILENT
Do not emit any messages.
If any other bits are set,
pam_open_session will return
PAM_SYMBOL_ERR.