welcome: please sign in

Diff for "DomTool/NonHCoopSetup"

Differences between revisions 2 and 3
Revision 2 as of 2009-11-26 19:59:20
Size: 565
Editor: DavorOcelic
Comment:
Revision 3 as of 2009-11-26 20:15:51
Size: 992
Editor: DavorOcelic
Comment:
Deletions are marked like this. Additions are marked like this.
Line 4: Line 4:
 1. Build and install the DomTool suite as explained in [[DomTool/Building]] and [[DomTool/Installation]]. (When creating user 'domtool', you can choose /home/domtool as the home directory)
 2. Edit /etc/init.d/domtool-* to replace shebang line /usr/bin/pagsh.openafs with /bin/sh (or /bin/bash)
 0. Build and install the DomTool suite as explained in [[DomTool/Building]] and [[DomTool/Installation]]. (When creating user 'domtool', you can choose /home/domtool as the home directory)
 0. Edit /etc/init.d/domtool-* to replace shebang line /usr/bin/pagsh.openafs with /bin/sh (or /bin/bash), and replace "/usr/bin/k5start" with "/usr/local/bin/k5start"
 0. Edit /usr/local/bin/domtool-admin-sudo to replace shebang line /usr/bin/pagsh.openafs with /bin/sh (or /bin/bash), and to comment the kinit and aklog lines
 0. Create /usr/local/bin/k5start with the following content and chmod 755 it (remove "\" at the beginning):
{{{
\#!/bin/sh
# This counts on BASH_ARGV being a stack (bash v3.0+)
${BASH_ARGV[0]}
}}}

DomTool source code is, at places, HCoop and OpenAFS-specific. Here's a documented procedure for setting up DomTool on non-HCoop machines and without using AFS.

  1. Set up /etc/domtool (or specifically, the SSL CA in there) accoridng to DomTool/SslProcedures

  2. Build and install the DomTool suite as explained in DomTool/Building and DomTool/Installation. (When creating user 'domtool', you can choose /home/domtool as the home directory)

  3. Edit /etc/init.d/domtool-* to replace shebang line /usr/bin/pagsh.openafs with /bin/sh (or /bin/bash), and replace "/usr/bin/k5start" with "/usr/local/bin/k5start"
  4. Edit /usr/local/bin/domtool-admin-sudo to replace shebang line /usr/bin/pagsh.openafs with /bin/sh (or /bin/bash), and to comment the kinit and aklog lines
  5. Create /usr/local/bin/k5start with the following content and chmod 755 it (remove "\" at the beginning):

\#!/bin/sh
# This counts on BASH_ARGV being a stack (bash v3.0+)
${BASH_ARGV[0]}

DomTool/NonHCoopSetup (last edited 2018-08-11 18:48:45 by ClintonEbadi)