Access as localuser not allowed from remoteuser@remotehost

From wiki.zmanda.com
Revision as of 11:34, 15 November 2005 by Sgw (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

There must be something wrong with .amandahosts configuration (or .rhosts, if you have configured --without-amandahosts).

First, if the USERNAME is not what you expect (i.e., not what you have specified in the --with-user flag, at configure time), check the inetd configuration file: you must have specified the wrong username there.

Make sure you specify the names exactly as they appear in the error message after the `@' sign in .amandahosts/.rhosts. You'll need a fully-qualified domain name or not, depending on how your client resolves IP addresses to host names.

[email protected]


Check that the hostname in .amandahosts/.rhosts is the same as the one in the error message.

Check the ownership and permissions of .amandahosts/.rhosts. Adjust it:

  chown amanda:disk ~amanda/.amandahosts
  chmod 0600 ~amanda/.amandahosts

Check .amandahosts/.rhosts for proper lines, usually you need two for each client, one for the amanda-user (for amdump) and one for root (for amrecover/amrestore):

  amandaclient.my.domain amanda
  amandaclient.my.domain root