How To:Configure rsh authentication

Jump to navigation Jump to search

This article is a part of the How Tos collection.

Client Configuration

To configure a client for rsh authentication, the Amanda server must be given permission to connect with the client using the rsh protocol. This entails the existence of a .rhost file in the Amanda user's home directory on the client and must contain on an individual line the hostname or possibly the fully qualified domain name of the Amanda server. This file should also be readable and writable only by the Amanda user.

Server Configuration

If rsh authentication is not the global authentication method for the Amanda server, specifying auth field in a client's dumptype definition will be required as may specifying client_username and amandad_path fields. If the backup user name is different on the Amanda client, the user name is specified as client_username. If the location of amandad binary is different on the Amanda client, the location is specified as amandad_path field value.

For example:

define dumptype rsh_example {
         auth "rsh"
         client_username "amandabackup"
         amandad_path "/usr/lib/exec/amandad"


For more detail, see amanda-auth(7).