LCFG::Om::Environment::NewAFSPAG - Creates a new AFS PAG before om method invocation
This documentation refers to LCFG::Om::Environment::NewAFSPAG version 0.4.11
my $env_system = LCFG::Om::Environment::NewAFSPAG->new();
$env_system->initialise();
If you are using AFS then as well as the standard environment initialisation which needs to be carried out before om can invoke an LCFG component method a new process authentication group (PAG) needs to be created. If this doesn't happen then any daemons which are started by the method invocation will end up with the AFS access of the user who made the call. This can lead to security issues and weird behaviour, particularly for webservers when the credentials expire.
This module inherits from LCFG::Om::Environment, you should also read the documentation for that module.
There are only two methods in this module, the important one being initialise()
new()
Creates and returns a new LCFG::Om::Environment::NewAFSPAG object.
initialise()
This calls the initialise() method of the parent class, LCFG::Om::Environment, and also does a setpag which creates a new AFS command shell (owned by the issuer of the command) and associates a new process authentication group (PAG) with the shell and the user.
This module requires the AFS::Utils, LCFG::Om::Environment and Readonly Perl modules.
om(1), LCFG::Om::Environment
This is the list of platforms on which we have tested this software. We expect this software to work on any Unix-like platform which is supported by Perl.
Darwin, Fedora12, Fedora13, Scientific5
There are no known bugs in this application. Please report any problems to bugs@lcfg.org or via https://bugs.lcfg.org/, feedback and patches are also always very welcome.
Simon Wilkinson <simon@sxw.org.uk>, Stephen Quinney <squinney@inf.ed.ac.uk>
Unless otherwise stated all code is copyright (C) 2009-2010 by University of Edinburgh.
This library is free software; you can redistribute it and/or modify it under the terms of the GPL, version 2 or later.
Hey! The above document had some coding errors, which are explained below:
You forgot a '=back' before '=head1'