Skip to content

Instantly share code, notes, and snippets.

View stefano-garzarella's full-sized avatar

Stefano Garzarella stefano-garzarella

View GitHub Profile
@stefano-garzarella
stefano-garzarella / root.sh
Last active August 29, 2015 14:06
Bash root privileges
# Make sure only root can run this script
if [[ $EUID -ne 0 ]]; then
echo "This script must be run as root" 1>&2
exit 1
fi