ref: a2a6ea1005f53c48fb931a38cad75c2f565e18c7
parent: 3461629bdae8138029de731ed5c38d699f1e5abf
author: jrmu <jrmu@cloud9p.org>
date: Sat Oct 12 18:02:51 EDT 2024
Add instructions to set up cpu server on plan 9
--- a/cpu-p9.ms
+++ b/cpu-p9.ms
@@ -42,3 +42,32 @@
Make sure also to delete the pre-existing line:
bootfile=sdC0!9fat!9pcf
+
+Clear nvram and then set a new password:
+
+term% echo garbage >/dev/sdC0/nvram
+
+Remember to replace sdC0 with your actual hard disk.
+
+Set the password:
+
+term% auth/keyfs
+
+Add the hostowner glenda to sys and adm groups:
+
+term% con -Cl /srv/fscons
+prompt: uname glenda glenda
+prompt: uname sys +glenda
+prompt: uname adm +glenda
+prompt: fsys main
+main: create /active/cron/glenda glenda glenda d775
+main: create /active/sys/log/cron glenda glenda a664
+
+Append these lines to the bottom of /lib/ndb/auth:
+
+hostid=glenda
+ uid=!sys uid=!adm uid=*
+
+Change the hostowner's password:
+
+term% auth/changeuser glenda