How To:Configure rsh authentication: Difference between revisions

From wiki.zmanda.com
Jump to navigation Jump to search
(XXX)
No edit summary
Line 1: Line 1:
{{XXX|Dustin|Needs TLC, merging}}
{{XXX|Dustin|Needs TLC, merging}}
==Dumptype definition changes==


Apart for specifying ''auth'' field in dumptype definition, it might be required to specified ''client_username'' and ''amandad_path'' fields.  If the backup user name is different on the
== Client Configuration==
Amanda client, the user name is specified as ''client_username''. If the location of ''amandad''
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.
binary is different on the Amanda client, the location is specified as ''amandad_path'' field  
 
value.
== 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:
For example:

Revision as of 23:54, 1 December 2008

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