Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

ubuntu wsl disable sudo password prompt

echo "`whoami` ALL=(ALL) NOPASSWD:ALL" | sudo tee /etc/sudoers.d/`whoami` && sudo chmod 0440 /etc/sudoers.d/`whoami`
Source by www.sindastra.de #
 
PREVIOUS NEXT
Tagged: #ubuntu #wsl #disable #sudo #password #prompt
ADD COMMENT
Topic
Name
2+5 =