On Mon, Feb 07, 2005 at 11:03:05AM -0000 or thereabouts, Burke, S (Stephen) wrote:
> Testbed Support for GridPP member institutes
> > [mailto:[log in to unmask]] On Behalf Of Steve Thorn said:
> > In this case it was easy to use the gatekeeper log to determine the
> > user. Is there a better way to match pbs job identifier to the user?
>
> It should probably be a FAQ if it isn't already ... look in your
> gridmapdir, which is usually under /etc/grid-security. There will be a
> file there with the same name as the pool account. stat the file to get
> the inode number, and then look for another file with the same inode
> number (or just match the timestamps which is usually quicker). The name
> of the other file is a mangled version of the DN of the user.
The magic ls you want to use is
ls -lirt /etc/grid-security/gridmapdir
>
> Stephen
--
Steve Traylen
[log in to unmask]
http://www.gridpp.ac.uk/
|