autotomatic system updates

All Gurus once were Newbies
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. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read how to get help
Post Reply
siawacsh
Level 3
Level 3
Posts: 160
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

User avatar
DrHu
Level 17
Level 17
Posts: 7537
Joined: Wed Jun 17, 2009 8:20 pm

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: 160
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

Attachments
software_sources.png

Post Reply

Return to “Newbie Questions”