From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Mon, 10 Sep 2007 00:40:45 +0100 From: maht To: 9fans@cse.psu.edu Message-Id: <20070910004045.afd15f12.mattmobile@proweb.co.uk> In-Reply-To: <13426df10709042311i7440fe0agd84a14712ab08194@mail.gmail.com> References: <13426df10709042311i7440fe0agd84a14712ab08194@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: [9fans] cpu/auth warlock Topicbox-Message-UUID: bcbc0024-ead2-11e9-9d60-3106f5b1d025 Wizard sounds too friendly and reliable :> I've been working on a script to turn a fresh install into a cpu/auth server I've put what I've got so far on sources /n/sources/contrib/maht/rc/make_cpuauth or http://plan9.bell-labs.com/sources/contrib/maht/rc/make_cpuauth What it does is work through the steps laid out in http://plan9.bell-labs.com/wiki/plan9/Configuring_a_standalone_CPU_server/ All the way up to the REBOOT section and adds a script /sys/lib/newfsysuser that adds a new user via auth/chaneguser and adds that user to fossil in group sys If you like you can then run auth/login -u $user on the auth terminal as bootes followed by /sys/lib/newuser and exit back to bootes or else do it once you drawterm in What it doesn't do : 1. Set up the file server part I didn't work out how to do that, the wiki page is a bit intimidating 2. Set up mail I haven't got mine to work yet so no point adding it to the script Mail files are owned upas:upas and mode 775 so I'm not sure how to write them unless I mount fossil -AWP 3. Set up DHCPD Again, I've not got that far in my own setup yet other stuff, please let me know If people are interested in using it it probably needs a bit of toughening up. I've been using QEMU in snapshot mode to test it, so failure had few consequences. matt