« Linux : configurer les mises à jours automatiques » : différence entre les versions
De www.yakakliker.org
(Page créée avec « <syntaxhighlight lang="bash"> root@wiki:~# dpkg-reconfigure unattended-upgrades </syntaxhighlight> Catégorie:Linux Catégorie:Commandes ») |
Aucun résumé des modifications |
||
Ligne 1 : | Ligne 1 : | ||
<syntaxhighlight lang="bash"> | <syntaxhighlight lang="bash"> | ||
root@wiki:~# dpkg-reconfigure unattended-upgrades | root@wiki:~# dpkg-reconfigure unattended-upgrades | ||
</syntaxhighlight> | |||
* Editer le fichier /etc/apt/apt.conf.d/50unattended-upgrades | |||
<syntaxhighlight lang="bash"> | |||
Unattended-Upgrade::Mail "root"; | |||
Unattended-Upgrade::MailReport "always"; | |||
</syntaxhighlight> | </syntaxhighlight> | ||
[[Catégorie:Linux]] | [[Catégorie:Linux]] | ||
[[Catégorie:Commandes]] | [[Catégorie:Commandes]] |
Version du 12 août 2024 à 14:06
root@wiki:~# dpkg-reconfigure unattended-upgrades
- Editer le fichier /etc/apt/apt.conf.d/50unattended-upgrades
Unattended-Upgrade::Mail "root";
Unattended-Upgrade::MailReport "always";