How To:Configure rsh authentication

From The Open Source Backup Wiki (Amanda, MySQL Backup, BackupPC)
Jump to navigationJump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

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"
         ...
}

More

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