1. 06 Dec, 2000 5 commits
    • Leigh B. Stoller's avatar
    • Robert Ricci's avatar
      Added '-i /root/.ssh/identity' option to ssh, scp, etc. because $HOME is · f5ad4e30
      Robert Ricci authored
      not /root if we're setuid....
      
      Also, set $< to 0 if $> is 0 - this seems to be necessary to stop sshtb
      from dropping root permissions.
      f5ad4e30
    • Robert Ricci's avatar
      Fixed up delay_setup to run with taint checking, so that it can be · 2094770e
      Robert Ricci authored
      setuid root. Modified the Makefile so that it gets the setuid bit
      when the post-install target is run.
      2094770e
    • Leigh B. Stoller's avatar
      Checkpoint a set of hacky changes to support your own OSKit kernel · ce613288
      Leigh B. Stoller authored
      via the create-os directive in the NS file.
      tbsetup/ir/handle_os.tcl - Do a valid check for the image given with
      	set-node-os in the NS file, and propogate that information through
              to the IR file. Nothing is added to the DB.
      tbsetup/mkexpdir - Add a tftpboot to the list of experiment directories. The
      	tftpd daemon now allows kernels from /proj.
      tbsetup/os_setup - Very hacky changes to allow for multiboot kernels. Read
      	local images table and cross check against that for nodeos spec.
              Hardwire in "mb" as a special partition tag that says to not try
      	and do too much with it. This should be changed to a DB check of
      	some kind. On reboot, do not wait for these nodes to come alive since
      	there is no way to determine if an oskit kernel (or any foreign)
      	kernel is running.
      ce613288
    • Kristin Wright's avatar
      · 15bb3655
      Kristin Wright authored
      Two changes:
      
      	- changed the uname ssh to accept ssh output in addition
      	  to the uname output. Initially, i thought this was hackish
      	  but, given ssh'es propensity to output messages for every
       	  conceivable occasion, now i think this is simply robust.
      
      	- previously, i was using perl's grep() function to
      	  detect duplicate IP addresses. testing with more complicated
             	  scenarios revealed that not only was i misusing the grep()
                function, but it wasn't sufficient even when used correctly.
                Many of the IP addresses aren't reachable from paper; the script
                would deal with this, but only after lengthy delays while
                waiting for input. i changed the script to only communicate
                with interfaces on the control net.
      15bb3655
  2. 05 Dec, 2000 12 commits
  3. 04 Dec, 2000 15 commits
  4. 03 Dec, 2000 3 commits
    • Kristin Wright's avatar
      · 6b11b08d
      Kristin Wright authored
      Complete re-write. This version will be easier
      to maintain and less likely to break. Turns out that in
      addition to being cleaner, the script runs about 5 times faster
      because we open many fewer remote pipes.
      
      An example of what was modified:
      
      To create a user in the old version:
      	- open up a local file
      	- dynamically generate a script of chpass calls for
      		new user accounts and dump into above file
      	- scp over the file
      	- source it remotely via ssh
      
      And now:
      	- ssh pw
      	- ssh chpass (turns out i couldn't use dave's usermod
      	   example because usermod takes an unencrypted password)
      
      -kw
      6b11b08d
    • Leigh B. Stoller's avatar
      Allow normal users to change node control parameters for nodes in · 6372cb0d
      Leigh B. Stoller authored
      their experiments, via the experiment information page.
      6372cb0d
    • Kristin Wright's avatar
      3 Minor changes: · aa7de27f
      Kristin Wright authored
      Noticed that I had a hard-coded test value still in the code ('lkwbox'
      instead of $project; fixed that. Took out inclusion of Open2 package. Allow
      a dash into the project name verification.
      aa7de27f
  5. 01 Dec, 2000 5 commits