Debugging Auth
Make sure that you're running auth commands with auth/keyfs
running in your namespace ☺.
There are a few useful commands for debugging auth/cpu in plan9:
- netaudit
- auth/debug
- auth/asaudit
- auth/status
ndb
Here's my 9ports.dev /lib/ndb/local
that works for auth+cpu:
sys=9ports dom=9ports.dev ether=5600031e21ed authdom=PORTS auth=144.202.89.41
ipnet=vultr ip=144.202.89.0 ipmask=255.255.254.0
ipgw=144.202.88.1
auth=144.202.89.41
authdom=PORTS
fs=144.202.89.41
cpu=144.202.89.41
dns=8.8.8.8
plan9.ini
bootfile=9pcf
bootargs=local!/dev/sdF0/fs -m 192
mouseport=ps2
monitor=vesa
vgasize=1024x768x16
nobootprompt=local!/dev/sdF0/fs -m 192 -A -a tcp!*!564
user=glenda
service=cpu
auth=9ports.dev
authdom=PORTS