[OpenAFS] AFS and Apache Virtual Directory

zeroguy zeroguy@verizon.net
Tue, 22 Nov 2005 17:46:51 -0500

On Tue, 22 Nov 2005 11:01:55 +0100
Frank Burkhardt <fbo2@gmx.net> wrote:

> Currently I use a skript refreshing the token for apache's UID at a
regular basis
> ( su - www-data make_token_from_keytab apache.keytab ) but I'm going
to put
> Apache in a PAG ASAP.

We just altered our apache init script to run in a PAG (start the script
with #!/usr/bin/pagsh), and run another script in the background that
just refreshes the credentials every so often (using a keytab). I.e.
sleep 21600, kinit, aklog, repeat.