Linux command
pam_deny 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
Deny all authentication
auth required pam_deny.so
Block account access
account required pam_deny.so
Disable password changes
password required pam_deny.so
说明
pam_deny always returns failure. Used to block authentication. The module denies all requests unconditionally. Security failsafe module.
FAQ
What is the pam_deny command used for?
pam_deny always returns failure. Used to block authentication. The module denies all requests unconditionally. Security failsafe module.
How do I run a basic pam_deny example?
Run `auth required pam_deny.so` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
Where can I find more pam_deny examples?
This page includes 3 examples for pam_deny, plus related commands for nearby Linux tasks.