ref: 564ebb2c798a38c2ae835024c041f8b7393979c1
parent: febf819b4112d36c5b849a1b9d82fef168f80860
author: jrmu <jrmu@cloud9p.org>
date: Sat Sep 14 01:15:35 EDT 2024
Add instructions for how to autoload factotum on boot
--- a/secstore.ms
+++ b/secstore.ms
@@ -19,3 +19,18 @@
Then:
; echo 'auth/secstored' >> /cfg/$sysname/cpurc
+
+We can add the file factotum to the secstore:
+
+% ramfs -p; cd /tmp
+% auth/secstore -g factotum
+secstore password:
+% echo 'key proto=apop dom=x.com user=ehg !password=hi' >> factotum
+% auth/secstore -v -p factotum
+secstore password:
+% read -m factotum > /mnt/factotum/ctl
+
+To load factotum automatically:
+
+% echo 'auth/secstore -s $sysname -n -G factotum >>/mnt/factotum/ctl' >> /cfg/$sysname/cpurc
+