David McBride <[log in to unmask]> writes:
> [log in to unmask] wrote:
>> On Fri, 11 Nov 2005, David McBride wrote:
>>
>>> Is there currently any mechanism that reset's a pool account's home
>>> directory back to it's default state before reuse?
>> The job-related
>> subdirectories ~/.globus and ~/.lcgjm and gram_* logfiles are removed
>> when a pool account is recycled, but that will not happen very often
>> (it does now, but in the next release it will be delayed as much as
>> possible for security reasons).
>
> Ahh, this sounds like what I've been looking for: where is the
> mechanism that removes stale data from a pool account when it is
> recycled? It sounds like I should be able to add my own hooks to this
> to completely reset $HOME to a ground state.
That's not enough. You also need to locate and kill any running
processes owned by the pool account. There is possibly also the issue
of cron jobs and at jobs; but pool accounts should automatically be
added to cron.deny and at.deny.
--
Leif Nixon - Systems expert
------------------------------------------------------------
National Supercomputer Centre - Linkoping University
------------------------------------------------------------
|