sudo tee /etc/sudoers.d/kale <<< ‘kale ALL=(ALL) NOPASSWD: ALL’
sudo chmod 440 /etc/sudoers.d/kale
其中kale是自己的用户名
转载自:https://p3terx.com/archives/linux-grants-normal-user-sudo-permission.html
sudo tee /etc/sudoers.d/kale <<< ‘kale ALL=(ALL) NOPASSWD: ALL’
sudo chmod 440 /etc/sudoers.d/kale
其中kale是自己的用户名
转载自:https://p3terx.com/archives/linux-grants-normal-user-sudo-permission.html