freeebsd to hardenedbsd update

From ivaat, 1 Year ago, written in Plain Text, viewed 1 times. This paste will croak in 1 Second.
URL https://paste.ovh/view/63219ad7 Embed
Download Paste or View Raw
  1. cd /tmp
  2.  
  3. pkg install unbound ca_root_nss
  4. fetch https://raw.githubusercontent.com/HardenedBSD/hardenedBSD/hardened/12-stable/master/usr.sbin/hbsd-update/hbsd-update
  5. fetch https://raw.githubusercontent.com/HardenedBSD/hardenedBSD/hardened/12-stable/master/usr.sbin/hbsd-update/hbsd-update.conf
  6. sed -i -e '/^UNBOUND_HOST=/ s/\/usr\/sbin\/unbound-host/\/usr\/local\/sbin\/unbound-host/' hbsd-update
  7. fetch https://raw.githubusercontent.com/HardenedBSD/hardenedBSD/hardened/12-stable/master/share/keys/hbsd-update/trusted/dnssec.key-2016-07-30
  8. fetch https://raw.githubusercontent.com/HardenedBSD/hardenedBSD/hardened/12-stable/master/share/keys/hbsd-update/trusted/ca.hardenedbsd.org
  9. mv hbsd-update /usr/sbin
  10. chmod +x /usr/sbin/hbsd-update
  11. mv hbsd-update.conf /etc
  12. mkdir -p /usr/share/keys/hbsd-update/trusted
  13. mv ca.hardenedbsd.org /usr/share/keys/hbsd-update/trusted
  14. mv dnssec.key-2016-07-30 /usr/share/keys/hbsd-update/trusted
  15. ln -s /usr/share/keys/hbsd-update/trusted/ca.hardenedbsd.org /usr/share/keys/hbsd-update/trusted/5905e1b4.0
  16. ln -s /usr/share/keys/hbsd-update/trusted/dnssec.key-2016-07-30 /usr/share/keys/hbsd-update/trusted/dnssec.key
  17. hbsd-update && reboot
  18.  

Reply to "freeebsd to hardenedbsd update"

Here you can reply to the paste above

captcha