Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
A script to disable asking for password when using sudo.
#!/bin/bash
echo "$USER ALL=(ALL:ALL) NOPASSWD: ALL" | sudo tee /etc/sudoers.d/$USER
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment