rootになれるユーザを制限する
Homeserver on Linux – 自宅サーバーを作ろう | Just another WordPress site
ファイル/etc/group
wheel:x:10:root
↓
wheel:x:10:root,hoge
ファイル/etc/login.defsに以下の1行を加える
SU_WHEEL_ONLY yes
ファイル/etc/pam.d/suのコメント行を有効にする
#auth required /lib/security/pam_wheel.so use_uid
↓
auth required /lib/security/pam_wheel.so use_uid