Posted to openbsd by Bradipo at Fri Aug 26 13:44:23 GMT 2022view raw
- $ less kernel.SHA256
- kernel.SHA256: Permission denied
- $ ls -l kernel.SHA256
- -rw------- 1 root wheel 81 Aug 26 07:29 kernel.SHA256
- $ ls -l relink.log
- -rw-r--r-- 1 root wheel 495 Aug 26 07:29 relink.log
- $ grep SHA256 relink.log
- (SHA256) /bsd: OK
- install -F -m 700 bsd /bsd && sha256 -h /var/db/kernel.SHA256 /bsd
- SHA256 (/bsd) = 41f09b0a269eb791707fbebfa54bc0c864068e1646d16afd4df2b4ed44a9517a