Skip to content

Check for updates without entering the password

franglais125 edited this page Jan 12, 2017 · 6 revisions

Detailed steps

Setup a script for updates

  • Simply create the file /usr/local/bin/updater with the following content:
#!/bin/bash
apt update
  • Remember to set the proper permissions: sudo chmod 0755 /usr/local/bin/updater

Allow the script to be executed

You can do this either using sudo or policykit. Only ONE of the two is necessary. Using policykit should be easier to set up.