9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: maht <mattmobile@proweb.co.uk>
To: 9fans@cse.psu.edu
Subject: [9fans] cpu/auth warlock
Date: Mon, 10 Sep 2007 00:40:45 +0100	[thread overview]
Message-ID: <20070910004045.afd15f12.mattmobile@proweb.co.uk> (raw)
In-Reply-To: <13426df10709042311i7440fe0agd84a14712ab08194@mail.gmail.com>

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






  reply	other threads:[~2007-09-09 23:40 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-05  6:11 [9fans] latest plan 9 kernel source for lguest ron minnich
2007-09-09 23:40 ` maht [this message]
2007-09-10  5:03   ` [9fans] cpu/auth warlock Uriel
2007-09-10 11:34     ` erik quanstrom
2007-09-10 12:06       ` Charles Forsyth
2007-09-10 12:06         ` erik quanstrom
2007-09-11 21:30   ` [9fans] mail warlock maht
2007-09-14 13:44     ` [9fans] ip/httpd/mirror maht
2007-09-14 14:15       ` erik quanstrom
2007-09-09 23:44 ` [9fans] 9pccpuf maht
2007-09-19 18:38   ` Sergey Zhilkin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20070910004045.afd15f12.mattmobile@proweb.co.uk \
    --to=mattmobile@proweb.co.uk \
    --cc=9fans@cse.psu.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).