Check for UID 0.


facility control_flag [debug] [nowarn]


Write a LOG_DEBUG message to the system log.
Turns 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.


Use the pam_rootok module to authenticate the superuser.

Note: The PAM module syntax does not stand alone and is contained within the context of the PAM configuration command. See the Security Developer's 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 UID equals 0.

Returns failure if UID does not equal 0.