给所有用户sudo权限

给所有用户sudo权限:

vi /etc/sudoers

ALL ALL=(ALL:ALL) NOPASSWD:/bin/ls

:wq!

猜你喜欢

转载自blog.51cto.com/yangzhiming/2405088