mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-13 05:41:26 +01:00
0
2] Upgrade HBSD 11.2 to version 12
Loic edited this page 2021-05-28 15:32:43 -04:00
As root;
- make sure running latest 11.2 release:
hbsd-update
pkg update && pkg upgrade
- replace 11 with 12 (s/11/12/g)
vi /etc/hbsd-update.conf
- FreeBSD has modified ntp to run without root privileges (a good thing), and requires a non-root UID. FreeBSD and HardenedBSD use username ntpd with UID 123, so add the ntpd user:
adduser -u 123 -D -L daemon
- upgrade:
hbsd-update
reboot
pkg-static install -f pkg
pkg update && pkg upgrade
- Reboot one more time for good measure, to ensure everything is fabulous.
$ freebsd-version
12.0--HBSD
$ hbsd-update
hbsd-v1200058-7b693e5bb0ecd02d3a905c6dd6299289bae1ef0e
[*] This system is already on the latest version.