LCMAPS_LOCALACCOUNT.MOD(8)
π LCMAPS_LOCALACCOUNT.MOD(8) β the site access control girlie π
okay bestie, sit down, hydrate, and let me tell you about lcmaps_localaccount.mod, a section 8 (system administration) manual page from Site Access Control. she's a plugin. she's an acquisition icon. and she's about to hand your LCMAPS system some Local Account credentials. let's go π«Ά
β¨ NAME β¨
lcmaps_localaccount.mod β an LCMAPS plugin that switches user identity. yes literally. that's her whole thing. π
π SYNOPSIS π
lcmaps_localaccount.mod [-gridmapfile grid-mapfile]
πΈ DESCRIPTION πΈ
so. this plugin is an acquisition plugin, meaning her job is to go get info and bring it back to the LCMAPS system β specifically Local Account credential information. she's a provider. a giver. we love that for her.
what she does is try to find a local account β and when we say local account we mean, more specifically, a UserID β based on the Distinguished Name (DN) of the user's end-entity certificate. like, she looks at who the cert says you are, and she's like "okay and who are you locally? π"
she'll try to find that DN β local account name mapping inside the grid-mapfile. and then, once she's found the mapped local (system) account username, she resolves the UID, the GID, and all the secondary GIDs. all of them. not just the first one. the whole friend group. π
π OPTIONS π
-gridmapfilegrid-mapfile β this file has to contain the DNs β (local) user account name mappings. fr fr, it is strongly advised that you set this option, and that you set it to an absolute path, so you don't accidentally use the wrong file or the wrong file path. lowkey important.- when it's unset, the plugin will try to grab the value from one of the environment variables (scroll down to ENVIRONMENT, bestie).
- when those are unset too, the default depends on whether the plugin is running inside a
(setuid-)rootapplication:- in the
(setuid-)rootcase, the default is/etc/grid-security/grid-mapfile - in the non-
(setuid-)rootcase, the default is<homedir>/.gridmap
- in the
- and if that latter default doesn't exist? the plugin returns the account information of the calling user. surprise bestie, it's you. π
- also, in a
(setuid-)rootapplication, relative paths are taken with respect to/etc/grid-security/.
π RETURN VALUES π
LCMAPS_MOD_SUCCESSβ success. she ate. β¨LCMAPS_MOD_FAILβ failure. she did not eat. π
π 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. yes, all four spellings. she's flexible like that. π¦
β NOTES β
since version 1.6.0, the localaccount plugin supports grid-mapfile entries with multiple usernames, separated by a comma β and no whitespace, okay? comma, then name, no spaces, we're not animals.
this can be used together with specifying a requested username (like via gsissh) to pick any of these accounts. when no requested username is specified, the first one is used. and heads up: this requires LCMAPS version 1.6.0 or newer. no cap. π
π BUGS π
please report any errors to the Nikhef Grid Middleware Security Team <grid-mw-security-support@nikhef.nl>. they're lovely, they'll help, just tell them what broke. π«Ά
π₯ SEE ALSO π₯
lcmaps.db(5)lcmaps(3)
iykyk. go read them, bestie, they're right there. π
πΈ AUTHORS πΈ
LCMAPS and the LCMAPS plug-ins were written by the Grid Middleware Security Team <grid-mw-security@nikhef.nl>. absolute icons, every single one of them. π
and that's the whole page, no skips, no summaries, every flag and default accounted for π
this little love letter to local accounts was brought to you by Stichting FOM/Nikhef, dated February 6, 2015 β yeah she's a 2015 baby and she's still serving. periodt. πβ¨
π¦ where this page comes from
- debian bookworm: lcmaps-plugins-basic-localaccount 1.7.1-1+b3 Β· Apache-2.0
- debian trixie: lcmaps-plugins-basic-localaccount 1.7.1-2+b1 Β· Apache-2.0
- ubuntu jammy: lcmaps-plugins-basic-localaccount 1.7.1-1build1 Β· Apache-2.0
- ubuntu noble: lcmaps-plugins-basic-localaccount 1.7.1-1ubuntu2 Β· Apache-2.0
- ubuntu questing: lcmaps-plugins-basic-localaccount 1.7.1-2
- ubuntu resolute: lcmaps-plugins-basic-localaccount 1.7.1-3 Β· Apache-2.0
- ubuntu stonking: lcmaps-plugins-basic-localaccount 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