Verified Commit 3c6e84dc authored by Elias Ojala's avatar Elias Ojala
Browse files

unattended-upgrades

parent c8ac7566
......@@ -54,4 +54,29 @@ security: root
root: actualadmin
```
Replace `actualadmin` with the administrative user you set.
\ No newline at end of file
Replace `actualadmin` with the administrative user you set.
Or do the following:
```
echo "root: actualadmin" | sudo tee -a /etc/aliases
```
Replace `actualadmin` with the administrative user you use.
## Enable unattended-upgrades
insert note about buster
```console
# apt install unattended-upgrades apt-listchanges bsd-mailx
# dpkg-reconfigure unattended-upgrades
```
### Email notifications
In `/etc/apt/apt.conf.d/50unattended-upgrades`, uncomment `Unattended-Upgrade::Mail "root";`
To get email notifications to other mailbox/your user's mailbox, see [Forward mail elsewhere](#forward-mail-elsewhere).
Read more on [Debian wiki](https://wiki.debian.org/UnattendedUpgrades)
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment