useradd linc -m -s /bin/bash
添加sudoers
su -
vim /etc/sudoers
# User privilege specification
root ALL=(ALL:ALL) ALL
rzx ALL=(ALL) NOPASSWD: NOPASSWD: ALL
原文地址:https://www.cnblogs.com/-rzx-/p/12382336.html
时间: 2024-10-30 09:58:04
useradd linc -m -s /bin/bash
添加sudoers
su -
vim /etc/sudoers
# User privilege specification
root ALL=(ALL:ALL) ALL
rzx ALL=(ALL) NOPASSWD: NOPASSWD: ALL
原文地址:https://www.cnblogs.com/-rzx-/p/12382336.html