Skip to content

Instantly share code, notes, and snippets.

@bkmeneguello
Created December 6, 2017 12:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bkmeneguello/fd7c38bb481e6605c8f6e39d27e9ad02 to your computer and use it in GitHub Desktop.
Save bkmeneguello/fd7c38bb481e6605c8f6e39d27e9ad02 to your computer and use it in GitHub Desktop.
Avoid GUI password prompt
vi /var/lib/polkit-1/localauthority/50-local.d/disable-passwords.pkla
[Do anything you want]
Identity=unix-group:sudo
Action=*
ResultActive=yes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment