pam_self

Updated: April 19, 2023

Self-authentication service.

Syntax:

facility control_flag pam_self.so [allow_root] [debug] [nowarn]

Options:

allow_root
Don't fail if UID equals 0.
debug
Write a LOG_DEBUG message to the system log.
nowarn
Turn off warnings so that the user does not ever see them. Don't use this option if anyone needs to know why their authentication was denied.

Description:

Use the pam_self module to determine if the target user's UID matches the current UID.

Note: The PAM module syntax does not stand alone and is contained within the context of the PAM configuration command. See the System Security Guide for more information about system authentication, configuring PAM, facilities, control flags, examples, and how QNX Neutrino uses the OpenPAM framework.

Service category:

This module belongs to the auth PAM service category.

Exit status:

Returns success if the UIDs match.

Returns failure if UIDs do not match, unless root is allowed and UID equals 0.