We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8e88af7 commit 9a2cee3Copy full SHA for 9a2cee3
base/etc/osg/image-config.d/ce-common-startup
@@ -1,6 +1,12 @@
1
+mkdir -p /etc/condor-ce/mapfiles.d/
2
+
3
# Return list of local users mapped from grid credentials
4
function get_mapped_users () {
- cat /etc/grid-security/grid-mapfile /etc/grid-security/voms-mapfile |
- awk '/^"[^"]+" +[a-zA-Z0-9\-\._]+$/ {print $NF}' |
5
- sort -u
+ {
6
+ awk '$1 == "SCITOKENS" { print $NF }' /etc/condor-ce/condor_mapfile \
7
+ /etc/condor-ce/mapfiles.d/* 2>/dev/null
8
+ cat /etc/grid-security/grid-mapfile /etc/grid-security/voms-mapfile |
9
+ awk '/^"[^"]+" +[a-zA-Z0-9\-\._]+$/ {print $NF}'
10
+ } | sort -u
11
}
12
0 commit comments