R's Workshop

Run sudo without Password on Ubuntu

Modification

編輯 /etc/sudoers, 將

# Allow members of group sudo to execute any command
%sudo   ALL=(ALL:ALL) :ALL

改成

# Allow members of group sudo to execute any command
%sudo   ALL=(ALL:ALL) NOPASSWD:ALL
Linux