Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

sudo passwordless

# Edit the sudoers with the visudo command
sudo visudo

# Change the %sudo group to be password-less
%sudo   ALL=(ALL:ALL) NOPASSWD: ALL

# Press CTRL+X to exit
# Press Y to save
# Press Enter to confirm
Source by kubernetes.io #
 
PREVIOUS NEXT
Tagged: #sudo #passwordless
ADD COMMENT
Topic
Name
9+2 =