secstore


Sun Mar 15 18:06:24 PDT 2026, jrmu@inter9.org (104.167.242.140)
Fix formatting of commands

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

Thu Feb 19 17:30:48 PST 2026, jrmu@inter9.org (104.167.242.140)
secstore

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



Last modified Thu Feb 19 17:30:48 PST 2026 [ Current version | History | Create a new page ] About the server | Powered by Plan 9