Skip to content

Instantly share code, notes, and snippets.

@drrk
Last active March 29, 2017 14:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 3 You must be signed in to fork a gist
  • Save drrk/000651f945c53310cbf14d08a3445d9b to your computer and use it in GitHub Desktop.
Save drrk/000651f945c53310cbf14d08a3445d9b to your computer and use it in GitHub Desktop.
Fix Sudo Hack
delete_lines 'remove requiretty from sudoers' do
path '/etc/sudoers'
pattern '^.*requiretty'
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment