CentOS7 为用户授权

时间:2024-10-11 18:44:43

1、要对sudoers文件添加可写权限chmod -v u+w /etc/sudoers

CentOS7 为用户授权

3、收回sudoers文件可写权限chmod -v u-w /etc/sudoers

CentOS7 为用户授权
© 长短途