How To:Configure rsh authentication

From The Open Source Backup Wiki (Amanda, MySQL Backup, BackupPC)
Revision as of 23:54, 1 December 2008 by Pyeatman (talk | contribs)
Jump to navigationJump to search
XXX User:Dustin: Needs TLC, merging

Other languages: [[::How To:Configure rsh authentication|English]] {{#ifexist: {{#if: | | {{#if: | :}}How To:Configure rsh authentication}}/Fr |  • {{#if: |français| [[::How To:Configure rsh authentication/Fr|français]]}}|}}

{{#ifexist: {{#if: | | {{#if: | :}}How To:Configure rsh authentication}}/Zh-cn |  • {{#if: |中文(中国大陆)‎| [[::How To:Configure rsh authentication/Zh-cn|中文(中国大陆)‎]]}}|}}


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