example for user1 (executed from root

echo "user1   ALL=(ALL:ALL) NOPASSWD: ALL" >/etc/sudoers.d/user1


  • No labels