wm: doc

ref: 7ba62fe8f0fbf17b4f5f29781ee4d4736e877bd2
dir: /secstore.ms/

View raw version
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

To start secstored at boot on the auth server:

; mkdir /cfg/$sysname

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 -n -G factotum >> /mnt/factotum/ctl' >> /cfg/$sysname/cpustart