/ 2]-Upgrade-HBSD-11.2-to-version-12.md
2]-Upgrade-HBSD-11.2-to-version-12.md
 1  As root;
 2  
 3  1. make sure running latest 11.2 release:
 4  
 5  ```
 6  hbsd-update
 7  pkg update && pkg upgrade
 8  ```
 9  
10  2. replace 11 with 12 (s/11/12/g)
11  
12  `vi /etc/hbsd-update.conf`
13  
14  3. 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:
15  
16  `adduser -u 123 -D -L daemon`
17  
18  4. upgrade:
19  
20  ```
21  hbsd-update
22  reboot
23  pkg-static install -f pkg
24  pkg update && pkg upgrade
25  ```
26  
27  5. Reboot one more time for good measure, to ensure everything is fabulous.
28  
29  ```
30  $ freebsd-version
31  12.0--HBSD
32  $ hbsd-update
33  hbsd-v1200058-7b693e5bb0ecd02d3a905c6dd6299289bae1ef0e
34  [*] This system is already on the latest version.
35  ```