Skip to content

Instantly share code, notes, and snippets.

@mavropalias
Created January 24, 2012 15:26
Show Gist options
  • Save mavropalias/1670683 to your computer and use it in GitHub Desktop.
Save mavropalias/1670683 to your computer and use it in GitHub Desktop.
<Use the down keyboard arrow to find this line:>
Defaults secure_path = /sbin:/bin:/usr/sbin:/usr/bin
<Use the right arrow to move the cursor to the end of the line and press the INSERT button. Now type>
:/usr/local/bin
<In order to save your changes and exit VI, hit ESC and type>
:
<now type>
wq!
<and you're back in the console>
<in order to leave su mode, type:>
exit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment