← 返回命令列表

Linux command

pam 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

Check PAM configuration

pam-auth-update

Test PAM authentication

pamtester [service] [user] authenticate

View PAM config

cat /etc/pam.d/[service]

Debug PAM

pam-auth-update --package

说明

PAM is Pluggable Authentication Modules. Framework for system authentication. The system provides flexible authentication. Configured per-service.

参数

auth
Authentication token verification.
account
Account validation.
password
Password update.
session
Session setup/teardown.

FAQ

What is the pam command used for?

PAM is Pluggable Authentication Modules. Framework for system authentication. The system provides flexible authentication. Configured per-service.

How do I run a basic pam example?

Run `pam-auth-update` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does auth do in pam?

Authentication token verification.