User Tools

Site Tools


update

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
update [2025/02/04 16:06] steveupdate [2026/02/20 19:46] (current) steve
Line 14: Line 14:
 ### machine without further credentials, it requires that a file be       ### ### machine without further credentials, it requires that a file be       ###
 ### created in /etc/sudoers.d/Update with the lines below;                ### ### created in /etc/sudoers.d/Update with the lines below;                ###
-###                                                                       ### +### See; https://wiki.cyli.org/doku.php?id=auto_update_without_password   ###
-### ## Installation and management of software                            ### +
-### Cmnd_Alias SOFTWARE_UPDATE = /bin/rpm, /usr/bin/up2date, \            ### +
-###  /usr/bin/dnf, /usr/bin/rkhunter, /usr/bin/needs-restarting, \        ### +
-###  /usr/bin/etckeeper, /usr/bin/tig                                     ### +
-### %wheel ALL = NOPASSWDSOFTWARE_UPDATE                                ### +
-###                                                                       ### +
-###     #  -or this, as appropriate-                                      ### +
-###                                                                       ### +
-### Cmnd_Alias SOFTWARE_UPDATE = /usr/local/bin/apt, /usr/bin/apt-get, \  ### +
-###     /usr/bin/tig                                                      ### +
-### %sudo ALL NOPASSWD: SOFTWARE_UPDATE                                 ### +
-###                                                                       ### +
-### This allows all users in the 'wheel' or 'sudo' group to run updates.  ###+
 ############################################################################# #############################################################################
    
Line 37: Line 24:
                 ;;                 ;;
    
-        "Linux Mint 21.3"|"Linux Mint 22"|"Linux Mint 22.1")+        "Linux Mint 21.3"|"Linux Mint 22"|"Linux Mint 22.1"|"Linux Mint 22.2"|"Linux Mint 22.3")
                 System="Deb"                 System="Deb"
                 ;;                 ;;
   
- "Debian GNU/Linux 12 (bookworm)")+ "Debian GNU/Linux 12 (bookworm)"|"Debian GNU/Linux 13 (trixie)")
  System="Deb"  System="Deb"
  ;;  ;;
  
- "Rocky Linux 8.10 (Green Obsidian)"|"Rocky Linux 9.(Blue Onyx)")+ "Rocky Linux 9.(Blue Onyx)"|"Rocky Linux 9.(Blue Onyx)"|"Rocky Linux 10.0 (Red Quartz)")
  System="NewRH"  System="NewRH"
  ;;  ;;
Line 94: Line 81:
 fi fi
 </code> </code>
 +\\
 +The /etc/sudoers.d/Update script is [[auto_update_without_password|Auto update without a password]]
update.1738685205.txt.gz · Last modified: by steve