cat /etc/sudoers OAuser ALL=(ALL:ALL) /bin/cat, /bin/ls, /usr/bin/vim 别忘了添加账号并修改密码 useradd OAuser passwd OAuser