---
name: "pam_rootok"
section: "8"
platform: "macos"
package: "pam_modules"
version: "217.100.6"
release: "macOS 26.5"
platforms: ["linux", "freebsd", "macos"]
url: "https://new.carta.tech/pam_rootok"
---

# pam\_rootok(8)

Root OK PAM module

## NAME

**pam\_rootok** – Root OK PAM module

## SYNOPSIS

\[*service-name*\] *function-class* *control-flag* pam\_rootok \[*options*\]

## DESCRIPTION

The Root OK PAM module supports the authentication function class.  In terms of the *function-class* parameter, this is the “auth” class.

The Root OK authentication module always returns success for the superuser without prompting for a password.

The following option may be passed to this authentication module:

- **debug**

  Debug information will be printed to the system log.

## SEE ALSO

[pam.conf(5)](/pam.conf/5.md), [pam(8)](/pam/8.md)
