To start secstored at boot on the auth server:
; mkdir /cfg/sysname
Then:
; echo 'auth/secstored' >> /cfg/sysname/cpurc
To create new accounts or to change secstore password:
; auth/secuser -v username
Afterwards, to add a file to the secstore, login as username, and run:
; auth/secstore -v -i -p file
The file will appear in /adm/secstore/store/username.
You can retrieve the file by running:
; auth/secstore -v -i -g file
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 -n -G factotum >> /mnt/factotum/ctl' >> /cfg/sysname/cpustart