Skip to content

Instantly share code, notes, and snippets.

@drrk
Last active March 29, 2017 14:34
Show Gist options
  • 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