Changes between Version 61 and Version 62 of Download/SCDB


Ignore:
Timestamp:
Sep 15, 2008, 11:01:28 PM (17 years ago)
Author:
/O=GRID-FR/C=FR/O=CNRS/OU=LAL/CN=Michel Jouvin
Comment:

Document use of sudo as a SSH replacement

Legend:

Unmodified
Added
Removed
Modified
  • Download/SCDB

    v61 v62  
    311311Currently, deployment of new version of the templates is done by the hook script triggered by `ant deploy` executing the server script `build-tag.pl` through ssh. There is no way to enter a password at this time, thus ssh must be configured in such a way that the Apache account on the Subversion server can do a ssh connection as root on the Quattor server, without password. The easiest is to use ssh keys to do that.
    312312
     313''Note: if you run SVN server on the Quattor server, an alternative to SSH is to use `sudo`. This currently requires to use a specific variant of the `post-commit` script, `post-commit.sudo`. After installing the script, instead of configuring SSH keys, you need to add the following configuration lines (customize them to reflect your local configuration) to `sudo` with `visudo` utility:''
     314{{{
     315Cmnd_Alias   QUATTORDEPLOY=/root/quattor/scripts/build-tag.pl *
     316Cmnd_Alias   AIIACKCGI=/usr/sbin/aii-shellfe
     317
     318apache ALL = NOPASSWD: QUATTORDEPLOY
     319apache ALL = NOPASSWD: AIIACKCGI
     320}}}
    313321
    314322=== Post-installation CGI Script ===