> 本文作者:丁辉 # Linux禁用Su权限 1. 修改配置文件 ```bash vi /etc/pam.d/su ``` 2. 添加如下内容 ```bash auth required pam_succeed_if.so user != root quiet ```