Moved hook for configuring root access: run on client, server.