Using voms-proxy-init on an OSX (10.4 or higher) system

From PDP/Grid Wiki
Jump to navigationJump to search

This is a quick and dirty HOWTO to get voms-proxy-init and voms-proxy-info working on your Mac. This has been tested on OSX Tiger (10.4) and Snow Leopard (10.6).

Download the following

Install these packages in the regular /opt/globus and /opt/glite directories. Check with tar tzf <file> to be sure. Usually they are easily unpackable from the root directory.

You will need to install expat. This is something you can get through the Mac Ports project:

The Mac Ports will install usually in /opt/local.

To get the VOMS tools working you will need to add Globus, gLite and Mac Ports libraries to the active library path.

The interesting snippets from my .bashrc:

export LD_LIBRARY_PATH="/opt/local/lib:/opt/glite/lib:/opt/globus/lib"
export PATH
export VOMS_USERCONF=/Users/okoeroo/.glite/vomses
export VOMS_LOCATION=/Users/okoeroo/.glite/vomses

My vomses file (usually at $HOME/.glite/vomses or $HOME/.edg/vomses)

"dteam" "" "15004" "/DC=ch/DC=cern/OU=computers/" "dteam"
"EGEE" "" "15001" "/O=dutchgrid/O=hosts/" "EGEE"
"" "" "15050" "/O=dutchgrid/O=hosts/" ""

To execute

voms-proxy-init -voms dteam
voms-proxy-info -all

Other platforms

You can also traverse the URL of the packages mentioned above and perform a similar task to get voms-proxy-init working on OpenSUSE, Ubuntu or any other supported operating system and/or Linux distribution of your preference.

For free...

In the /opt/globus/bin you'll also get extra tools through the required Globus packages, like globus-url-copy and others.