Auth Server

boot

root is from (tcp, local)[local!#/sdC0/fossil]: <ENTER>
user[none]: glenda <ENTER>

glenda

term% con -l /srv/fscons
prompt: uname adm +glenda <ENTER>
<CTRL>-\
<<< q <ENTER>

timezone

term% cp /adm/timezone/<timezone> /adm/timezone/local

rc

term% mv /cfg/example /cfg/<systemname>

edit /cfg/<systemname>/cpurc, append:

dmaon
ip/ipconfig -g <gatewayip> ether /net/ether0 <hostip> <subnetmask>

authsrv

term% mv /rc/bin/service.auth/authsrv.tcp567 /rc/bin/service.auth/tcp567

create /cfg/ <systemname>/cpustart, insert:

aux/listen -q -t /rc/bin/service.auth -d /rc/bin/service tcp

keyfs and cron

edit /rc/bin/cpurc, uncomment the following lines:

# auth/keyfs -wp -m /mnt/keys /adm/keys >/dev/null >[2=1]
# auth/cron >>/sys/log/cron >[2=1] &

ndb

edit /lib/ndb/local, append:

ip=<hostip> sys=<systemname> ether=<mac>
    authdom=<authdomain>
    auth=<systemname>
    cpu=<systemname>
    fs=<systemname>
    dns=<dnsip>
    ipgw=<gatewayip>

kernel

term% cd /sys/src/9/pc
term% mk CONF'='pccpuf install
term% mk clean
term% 9fat:
term% cp /386/9pccpuf /n/9fat/

plan9.ini

edit /n/9fat/plan9.ini, prepend:

[menu]
menuitem=cpu, Plan 9 CPU Kernel
menuitem=terminal, Plan 9 Terminal Kernel
menudefault=cpu, 10

[cpu]
bootfile=<hd>!9fat!9pccpuf

[terminal]
bootfile=<hd>!9fat!9pcf

[common]
nobootprompt=local!#S/<hd>/fossil

nvram

term% echo garbage >/dev/<hd>/nvram

keyfs

term% auth/keyfs
bad nvram key
bad authentication id
bad authentication domain
can't read /dev/key, please enter machine key
Password:<machinekey> <ENTER>
Confirm password: <machinekey> <ENTER>
0 keys read

hostowner

term% con -l /srv/fscons
prompt: uname <hostowner> <hostowner> <ENTER>
prompt: uname sys +<hostowner> <ENTER>
prompt: uname adm +<hostowner> <ENTER>
prompt: fsys main <ENTER>
<CTRL>-\
>>> q <ENTER>

edit /lib/ndb/auth, append:

hostid=<hostowner>
    uid=!sys uid=!adm uid=*
term% auth/changeuser <hostowner>
Password: <hostownerpwd> <ENTER>
Confirm password: <hostownerpwd> <ENTER>
assign Inferno/POP secret? (y/n) y <ENTER>
make it the same as the plan 9 password? (y/n) y <ENTER>
Expiration date (YYYYMMDD or never)[return = never]: <ENTER>
1 keys read
Post id: <ENTER>
User's full name: <ENTER>
Department #: <ENTER>
User's email address: <ENTER>
Sponsor's email address: <ENTER>
user <hostowner> installed for Plan 9

shutdown

fshalt

reboot the machine

first boot

Plan 9 Startup Menu:
====================
   1. Plan 9 CPU Kernel
   2. Plan 9 Terminal Kernel
Selection[default==1 (10s timeout)]: 1 <ENTER>
bad nvram key
bad authentication id
bad authentication domain
authid: <hostowner> <ENTER>
authdom: <authdomain> <ENTER>
secstore key: <secstorekey> <ENTER>
password: <hostownerpwd> <ENTER>