Enabling GSI authentication in iRODS - UPPMAX/irods GitHub Wiki

(This information is much based upon this wiki page)

  • First, see the iRODS install KB for how to build iRODS with GSI.
  • Do an grid-proxy-init, to see your full DN. Copy it!
  • Open up the iRODS admin with the 'iadmin' command (using the password auth).
  • Do:
iadmin>aua [user-name] "[your-DN]"

(You need to use dots around the DN, since it contains spaces)

You can check that it worked, with:

iadmin>lua
  • Exit iadmin with Ctrl-D.
  • Edit your ~/.irods/.irodsEnv file, and add the line:
irodsAuthScheme=GSI
  • Now try to do ils, iadmin or anything similar. If it works, you're fine!