SUDO Privileges in Scripts
There are many approaches to allow sudo privileges in shell scripts. Some approaches stores the password as text. #!/bin/bash if ]; then echo "Please run with sudo" exit 1 fi…
There are many approaches to allow sudo privileges in shell scripts. Some approaches stores the password as text. #!/bin/bash if ]; then echo "Please run with sudo" exit 1 fi…