wm: doc

ref: 8409fecf5b74ad0b35b2957e776f2cded239a047
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 -s $sysname -n -G factotum >>/mnt/factotum/ctl' >> /cfg/$sysname/cpurc