Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I want to set Ubuntu/Lubuntu [10.04] to automatically install security updates for a normal desktop user (user has no root privileges).

If I set Ubuntu/Lubuntu [10.04] to Automatically Install Updates in the background will it still install the security updates if the user logged in is not apart of the administrator group?

share|improve this question
add comment

2 Answers

Create a file of name, say, local.pkla, in the directory /var/lib/polkit-1/localauthority/50-local.d, whose content should be

[Update Manager]
Identity=unix-user:enzotib
Action=org.debian.apt.upgrade-packages
ResultActive=yes

The text between square brackets is simply a comment, and you should substitute enzotib with the real username you want to give the ability to use update-manager without password.

To see possible Actions, run pkaction.

Reference: pklocalauthority manual page.
See also manual pages of pkaction, pkcheck, pkexec, polkit, polkitd.

share|improve this answer
add comment

Unattended security updates are installed without the need of confirmation and without the need to be logged in as an administrator group user by choosing "Download and install automatically" in Update Manager -> Settings -> Updates in the line "When there are security updates":

for 12.04 LTS and later:

enter image description here

for 10.04 LTS:

enter image description here

Other than security updates are not installed by this. If you need to do this please see this answer.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.