autotomatic system updates

Quick to answer questions about finding your way around Linux Mint as a new user.
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions use the other forums in the support section.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
siawacsh
Level 3
Level 3
Posts: 189
Joined: Fri Sep 06, 2013 9:32 am
Location: Ireland

autotomatic system updates

Post by siawacsh »

Hello, I have setup 32 bit Mint 17 on my mothers desktop who is a techno phobe. I don't want her to have to bother with
authentication each time the system has new updates. Is there a way I can tell the system not to ask for password each time it needs to update.?

siawacsh
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
DrHu

Re: autotomatic system updates

Post by DrHu »

I am thinking you could schedule (provide a CRON job) that ran an update with the required sudo password
--perhaps you could have created another user for her (not sudo group)

The /etc/sudoers file would allow sudo without the password being required
--when setup for nopassword
http://www.ducea.com/2006/06/18/linux-t ... -nopasswd/
https://help.ubuntu.com/community/AutoWeeklyUpdateHowTo

Another option
--enable remote access and manage the updates to her system yourself..
https://help.ubuntu.com/community/Vinagre
  • Or possbly use a VPN
    --or even some commercial product such as gotomeeting or teamviewer
https://wiki.ubuntu.com/VPN

https://en.wikipedia.org/wiki/GoToMeeting
https://en.wikipedia.org/wiki/Team_viewer
siawacsh
Level 3
Level 3
Posts: 189
Joined: Fri Sep 06, 2013 9:32 am
Location: Ireland

Re: autotomatic system updates

Post by siawacsh »

Hi, i tried the first two options without much luck.

AutoWeeklyUpdateHowTo does not seem to apply to my system. My software sources does not have an option for updates or automatic updates. I have attached a screenshot of my software sources.

https://help.ubuntu.com/community/AutoWeeklyUpdateHowTo

When I try to edit /etc/sudoers I get a warning to not edit this file and use /etc/sudoers.d/mintupdate instead.
These are the options I get within the mintupdate file


Code: Select all

# Allow any user to check for new system updates without
# requiring user authentication.

Cmnd_Alias UPDATE = /usr/lib/linuxmint/mintUpdate/checkAPT.py

ALL ALL = NOPASSWD:UPDATE
~                                                                               
                                                                                                  
"mintupdate" [readonly] 6 lines, 180 characters

Locked

Return to “Beginner Questions”