Skip to content

Instantly share code, notes, and snippets.

@jayangshu84
Forked from drrk/fixsudo.rb
Created March 29, 2017 14:34
Show Gist options
  • Save jayangshu84/7957ae398ea6a9ed0c574158f762bb82 to your computer and use it in GitHub Desktop.
Save jayangshu84/7957ae398ea6a9ed0c574158f762bb82 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