When users do not have operating system user accounts on the Platform Application
Center server, you can enable them to log in and use IBM Spectrum LSF Application Center by creating a
user mapping script that maps login user accounts to operating system user accounts. This
applies to both the graphical user interface as well as Web Services.
About this task
You specify the location of your user mapping script to IBM Spectrum LSF Application Center
with the parameter USER_MAP_SCRIPT in
$GUI_CONFDIR/pmc.conf. A user that logs in to Platform Application
Center is authenticated, then mapped to the operating system user account specified in the
user mapping script. The user is then able to perform all operations in Platform Application
Center as the mapped user account. The mapped user account is displayed in Platform
Application Center pages. You can view the login user accounts in .Procedure
- Create a script that maps login user accounts to operating system user accounts and
test it.
Script requirements:
For example:
!/bin/sh
if [ "X$1" = "X" ]; then
echo "Specify a user name." 1>&2
exit 1
fi
case "$1" in
user2)
echo "user9"
exit 0
;;
user3)
echo "user10"
exit 0
;;
*)
echo "User name: $1 is not mapped." 1>&2
exit 1
- As root, log on to the IBM Spectrum LSF Application Center server.
- Edit $GUI_CONFDIR/pmc.conf and add the parameter
USER_MAP_SCRIPT to specify the location of your user mapping
script. For example:
USER_MAP_SCRIPT=/etc/myscript.sh
- Restart IBM Spectrum LSF Application Center with pmcadmin stop and
pmcadmin start to make changes take effect.
- Assign roles to the operating system user accounts specified in your user mapping
script in System & Settings > Users & Groups.