Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Sintaxis
- echo "$USER ALL=(ALL) NOPASSWD: [comando|Script]" | sudo tee -a /etc/sudoers
- Ejemplos
- echo "$USER ALL=(ALL) NOPASSWD: /usr/bin/bleachbit" | sudo tee -a /etc/sudoers
- echo "$USER ALL=(ALL) NOPASSWD: /sbin/shutdown, /sbin/reboot, /sbin/halt" | sudo tee -a /etc/sudoers
- echo "$USER ALL=(ALL) NOPASSWD: ${HOME}/Scripts/Script.sh" | sudo tee -a /etc/sudoers
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement