Skip to content

Plugin to allow a static mapping from pilot to payload accounts for glexec.

Notifications You must be signed in to change notification settings

lcmaps-plugins/lcmaps-plugins-static-mapping

Repository files navigation

lcmaps-plugins-static-mapping

This LCMAPS plugin does a mapping solely based on the contents of a mapfile. The contents of the mapfile, assumed to be /etc/grid-security/glexec-mapfile. This can be overridden with the -mapfile argument, if desired.

The contents of the mapfile should be something like this:

# This is a comment
jobslot001 postglexec_jobslot001
jobslot002 postglexec_jobslot002
jobslot003 postglexec_jobslot003
jobslot004 postglexec_jobslot004

The first column is the invoking user; the second column is the target user. Only usernames, not UIDs, are supported.

Once matched, the plugin will lookup the UID, primary GID, and secondary GIDs of the target user.

About

Plugin to allow a static mapping from pilot to payload accounts for glexec.

Resources

Stars

Watchers

Forks

Packages

No packages published