ML
    • Register
    • Login
    • Search
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    1. Home
    2. Tags
    3. automatic updates
    Log in to post
    • All categories
    • JaredBusch

      Solved Automatically running chocolatey upgrades
      IT Discussion • chocolatey upgrade automatic updates • • JaredBusch

      3
      2
      Votes
      3
      Posts
      185
      Views

      Dashrender

      @JaredBusch said in Automatically running chocolatey upgrades:

      How do various people do this?

      Re: Next steps with SaltStack

      @marcinozga said in Next steps with SaltStack:

      Not salt, but I used https://chocolatey.org/packages/choco-upgrade-all-at which creates the same task, that runs choco upgrade all -y. If salt is using windows task scheduler, then it should just work.

      Does that run as the admin account? Users have no rights to run this.

      Running the choco install command requires local admin rights - so I assumed either - it ran as system OR it would ask for the creds of the current admin user being used to run the installer.

      Clearly you found that it runs as system.

    • IRJ

      How to configure automatic updates on Ubuntu 18.04 LTS
      IT Discussion • ubuntu 18.04 automatic updates postfix unattended-upgrades • • IRJ

      23
      5
      Votes
      23
      Posts
      1548
      Views

      Danp

      @IRJ said in How to configure automatic updates on Ubuntu 18.04 LTS:

      Scripted a bit for anyone interested

      FWIW, this line didn't work for me --

      sed -i '/Unattended-Upgrade::Skip-Updates-On-Metered-Connections "true"/a\\ "${distro_id}:${distro_codename}-updates"; ' /etc/apt/apt.conf.d/50unattended-upgrades

      I believe this is due to the line being inserted outside the Unattended-Upgrade::Allowed-Origins grouping.