pam_rootok

Check for UID 0.

Syntax:

facility control_flag pam_rootok.so [debug] [nowarn]

Options:

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

Description:

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.