Notes
How to run sudo without a password
ME=$(whoami) && echo "$ME ALL=(ALL) NOPASSWD: ALL" | sudo tee "/etc/sudoers.d/$ME" && sudo chmod 0440 "/etc/sudoers.d/$ME"
Please note, that’s insecure and dangerous! Use with caution.
ME=$(whoami) && echo "$ME ALL=(ALL) NOPASSWD: ALL" | sudo tee "/etc/sudoers.d/$ME" && sudo chmod 0440 "/etc/sudoers.d/$ME"
Please note, that’s insecure and dangerous! Use with caution.