Skip to content

Instantly share code, notes, and snippets.

@petems
Last active March 15, 2019 14:31
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save petems/367f8119bbff011bf83e to your computer and use it in GitHub Desktop.
Save petems/367f8119bbff011bf83e to your computer and use it in GitHub Desktop.
Remove requiretty
echo "Removing requiretty"
sed -i "s/^.*requiretty/#Defaults requiretty/" /etc/sudoers
echo "Complete!"
@doertedev
Copy link

this removes lines with users who this specifically aims for completely.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment