← 返回命令列表

Linux command

pam_wheel 命令

文本

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

常用示例

Require wheel group for su

auth required pam_wheel.so

Require wheel for root

auth required pam_wheel.so root_only

Use specific group

auth required pam_wheel.so group=admin

Trust wheel members

auth sufficient pam_wheel.so trust

说明

pam_wheel restricts su to wheel group. Controls root access. The module requires group membership. Traditional Unix security.

参数

root_only
Only apply for su to root.
group=_NAME_
Use alternate group.
trust
Trust group members (no password).
deny
Deny access to group members.

FAQ

What is the pam_wheel command used for?

pam_wheel restricts su to wheel group. Controls root access. The module requires group membership. Traditional Unix security.

How do I run a basic pam_wheel example?

Run `auth required pam_wheel.so` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does root_only do in pam_wheel?

Only apply for su to root.