First of all, we need to create the gridmap file. This file has a list of distinguished names that are allowed access to a service. The file also maps each distinguished name to a user account. However, we won't be using that feature now, since it is used by higher-level services which the tutorial currently doesn't cover.
The format of the file is very simple. One line for each user which is allowed access. Each line has two fields separated by whitespace: the distinguished name and the user account. Since the distinguished name usually contains whitespace, it is placed between "quotation marks".
For example, a gridmap file which gave my distinguished name access to a service could be the following:
"/O=Globus/OU=GT3 Tutorial/CN=Borja Sotomayor" borja
Save this file as $GLOBUS_LOCATION/gridmapfile. |