This document describes the settings required for shared secret authentication in Gfarm.
A shared secret key is created by the gfkey command.
$ gfkey -f -p 31536000This creates a shared secret key valid for 31536000 seconds (= 365 days). This key needs to be distributed to all hosts with the same permission and owner at the same location.
Shared secret authentication can be used for gfsd and gfmd. A shared secret key of gfsd should be generated for _gfarmfs user, and distributed to all gfsd and gfmd hosts. A shared secret key of gfmd should be generated for _gfarmmd user, and distributed to all gfmd hosts.