startup

  This program should be called by inetd when a tcp connection is attempted
  from port 592 (i.e:  A line like: "592   tcp   /usr/etc/startup" should
  be added to /etc/servers).  It in turn starts up sxtrek.  If you don't
  have access to /etc/servers but would like to start up a daemon anyway,
  then compile startd.c after defining STARTPROG properly within startd.c.
  Then run startd (it acts like inetd would).

  This version of the startup code does not change the userid.  However, it 
  probably should, since otherwise the code would be running as login=root 
  (since that is how inetd runs).  So, you might want to add some lines to 
  xtrekII.sock.c to do the right thing here.

  Basically, access.c checks some files which should specify which machines 
  are allowed to play.  Any illegal machines are denyed access.  

  The file "/usr/games/lib/xtrek/.access" might looks like this:

default		y

# Bard Cluster
bard		/usr/games/lib/xtrek/.no_bard
othello		/usr/games/lib/xtrek/.no_bard
iago		/usr/games/lib/xtrek/.no_bard
romeo		/usr/games/lib/xtrek/.no_bard
juliet		/usr/games/lib/xtrek/.no_bard
hamlet		/usr/games/lib/xtrek/.no_bard
macbeth		/usr/games/lib/xtrek/.no_bard
mercutio	/usr/games/lib/xtrek/.no_bard
polonius	/usr/games/lib/xtrek/.no_bard
cordelia	/usr/games/lib/xtrek/.no_bard
falstaff	/usr/games/lib/xtrek/.no_bard
laertes		/usr/games/lib/xtrek/.no_bard
ophelia		/usr/games/lib/xtrek/.no_bard
yorric		/usr/games/lib/xtrek/.no_bard
portia		/usr/games/lib/xtrek/.no_bard
katerina	/usr/games/lib/xtrek/.no_bard
cinna		/usr/games/lib/xtrek/.no_bard

  And the file /usr/games/lib/xtrek/.no_bard has a message in it saying
  why access is turned off.  The socket version, though, doesn't send it.

Installation:
    
    To install this, you must:

    - add a line like:
	592	tcp	/usr/etc/startup
      to /etc/servers.
    - Adjust the filenames in xtrekII.sock.c and access.c to point to
	the right places.
    - Add a line near the end of xtrekII.sock.c to setuid() to an appropriate
	user (optional).
