LCMAPS_VOMS...ACCOUNT.MOD(8)
π LCMAPS_VOMS_LOCALACCOUNT.MOD π
okay bestie, we're doing lcmaps_voms_localaccount.mod from section 8 of the Site Access Control manual, and honestly? she's that girl. let's get into it π«Ά
β¨ NAME β¨
lcmaps_voms_localaccount.mod β an LCMAPS plugin that switches user identity based on VOMS credentials, using local accounts. π
πΈ SYNOPSIS πΈ
lcmaps_voms_localaccount.mod [-gridmapfile grid-mapfile] [--do-not-add-primary-gid-from-mapped-account] [--add-primary-gid-from-mapped-account] [--add-primary-gid-as-secondary-gid-from-mapped-account] [--do-not-add-secondary-gids-from-mapped-account] [--add-secondary-gids-from-mapped-account] [--use-voms-gid|--use_voms_gid|-use_voms_gid] [--use-account-gid]
π¦ DESCRIPTION π¦
so. this VOMS localaccount acquisition plugin is literally a 'VOMS-aware' glow-up of the lcmaps_localaccount.mod.8 plugin. same energy, but now she actually knows about VOMS. π§
what she does: she tries to find a local account (more specifically a UserID) based on the VOMS info that's available from LCMAPS β and in particular, the Fully Qualified Attribute Names (FQANs).
she'll go looking for an FQAN-to-local-account-name mapping in the gridmapfile. and once she's found your account? she resolves the UID, the GID, and all the secondary GIDs of the mapped local (system) account username. not me being thorough ππ
π OPTIONS π
-gridmapfilegrid-mapfileβ this file has to contain FQANs β (local) user account name mappings. strongly advised to set this one, and to set it to an absolute path, so you don't accidentally use the wrong file (or the wrong path to the right file, which is somehow worse π). if you leave it unset, the plugin will try to grab the value from one of the environment variables (peep ENVIRONMENT below). and if those are unset too, the default depends on whether the plugin is running inside a (setuid-)root application:- in the (setuid-)root case, the default is
/etc/grid-security/grid-mapfile - in the non-(setuid-)root case, the default is
<homedir>/.gridmap - and in a (setuid-)root application, relative paths are taken with respect to
/etc/grid-security/
- in the (setuid-)root case, the default is
--do-not-add-primary-gid-from-mapped-accountβ once the account is mapped, do NOT add the primary Group ID from the passwd-file/LDAP of the mapped account as part of the mapping result. the default is to add the primary Group ID, unless--use-voms-gidis specified. see also--add-primary-gid-from-mapped-account,--add-primary-gid-as-secondary-gid-from-mapped-accountand--use-voms-gid. π--add-primary-gid-from-mapped-accountβ once the account is mapped, add the primary Group ID from the passwd-file/LDAP of the mapped account as part of the mapping result. the default is to add the primary Group ID, unless--use-voms-gidis specified. see also--do-not-add-primary-gid-from-mapped-account,--add-primary-gid-as-secondary-gid-from-mapped-accountand--use-voms-gid. β¨--add-primary-gid-as-secondary-gid-from-mapped-accountβ once the account is mapped, add the primary Group ID from the passwd-file/LDAP of the mapped account as a secondary Group ID as part of the mapping result (possibly in addition to adding it as a primary Group ID, she contains multitudes π). the default is to add it only as primary Group ID. see also--do-not-add-primary-gid-from-mapped-account,--add-primary-gid-from-mapped-accountand--use-voms-gid.--do-not-add-secondary-gids-from-mapped-accountβ once the account is mapped, do NOT add the secondary Group ID(s) from the groups-file/LDAP of the mapped account as secondary Group ID(s) as part of the mapping result. the default is to add the sGIDs, unless--use-voms-gidis specified. see also--add-secondary-gids-from-mapped-accountand--use-voms-gid.--add-secondary-gids-from-mapped-accountβ once the account is mapped, add the secondary Group ID(s) from the groups-file/LDAP of the mapped account as secondary Group ID(s) as part of the mapping result. the default is to add the secondary Group ID(s), unless--use-voms-gidis specified. see also--do-not-add-secondary-gids-from-mapped-accountand--use-voms-gid.--use-voms-gid,--use_voms_gid,-use_voms_gidβ by default this plugin adds the primary and secondary Group ID(s) from the passwd-file/groups-file/LDAP of the mapped account as part of the mapping result. specifying this option overrides that default. part or all of the group info can still be added by using the--add-*flags. we advise switching this option on by default. π see also--use-account-gid.--use-account-gidβ this one does the exact opposite of--use-voms-gid, telling the plugin to add the mapped account group information to the mapping result. it's currently already the default, which means this option has no effect. no cap. see also--use-voms-gid.
β RETURN VALUES β
LCMAPS_MOD_SUCCESSβ success! slay. πLCMAPS_MOD_FAILβ failure. it's giving sad girl hours. π
π ENVIRONMENT π
GRIDMAP|GLOBUSMAP|globusmap|GlobusMapβ when no grid-mapfile is specified as an option to the plugin, she'll try to obtain the file location from one of these environment variables. four whole names, pick your fave. π¦
π NOTES π
since version 1.6.0, the voms_localaccount plugin supports grid-mapfile entries with multiple usernames, separated by a comma without whitespace. this can be used in combination with specifying a requested username (such as by gsissh), to pick any of these accounts. when no requested username is specified, the first one is used. π«Ά
heads up bestie: this requires LCMAPS version 1.6.0 or newer.
π BUGS π
please report any errors to the Nikhef Grid Middleware Security Team <grid-mw-security-support@nikhef.nl>. they're lovely, they'll handle it. π
πΈ SEE ALSO πΈ
lcmaps.db(5), lcmaps(3).
π§ AUTHORS π§
LCMAPS and the LCMAPS plug-ins were written by the Grid Middleware Security Team <grid-mw-security@nikhef.nl>. icons, honestly. π
and that's the whole page, bestie!! this one's brought to you by Stichting FOM/Nikhef, dated February 6, 2015 β vintage but still serving, iykyk. stay mapped, stay slaying. β¨ππ
π¦ where this page comes from
- debian bookworm: lcmaps-plugins-voms 1.7.1-1+b2 Β· Apache-2.0
- debian trixie: lcmaps-plugins-voms 1.7.1-2 Β· Apache-2.0
- ubuntu jammy: lcmaps-plugins-voms 1.7.1-1 Β· Apache-2.0
- ubuntu noble: lcmaps-plugins-voms 1.7.1-1ubuntu2 Β· Apache-2.0
- ubuntu questing: lcmaps-plugins-voms 1.7.1-2
- ubuntu resolute: lcmaps-plugins-voms 1.7.1-2build1 Β· Apache-2.0
- ubuntu stonking: lcmaps-plugins-voms 1.7.1-3 Β· Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms