term% cd /tmp
term% dd -bs 512 -count 1 < /dev/zero > nvram
1+0 records in
1+0 records out
term% nvram=nvram
term%  xd nvram
0000000  00000000 00000000 00000000 00000000
0000010  00000000 00000000 00000000 00000000

etc.

term% auth/wrkey
bad nvram key
bad authentication id
bad authentication domain
authid: xyz
authdom: abc
secstore key:
password:
term% cat nvram
1��@�123�xyztabc/term%  xd nvram
0000000  31d90c00 028140e2 00000000 00000000
0000010  31323300 00000000 00000000 00009f78
0000020  797a0000 00000000 00000000 00000000
0000030  00000000 00000000 00000074 61626300
0000040  00000000 00000000 00000000 00000000

etc.

It pays to make the nvram file len 512 bytes or you have to set
nvramlen in plan9.ini and who wants to do that.

Note the nvram=nvram step ... it is needed.

ron
p.s. No points for guessing the password I used :-)

Reply via email to