I did the things it suggested there... I checked inetd.conf on the server:
amandaidx stream tcp nowait backup /usr/local/libexec amindexd
amidxtape stream tcp nowait backup /usr/local/libexec amidxtaped
I checked the xinetd.d entry on the client:
service amanda
{
socket_type = dgram
protocol = udp
wait = yes
user = backup
group = backup
groups = yes
server = /usr/local/libexec/amandad
}
I checked the logs:
/usr/local/var/amanda/DailySet1/log/amdump.1:planner: USE_AMANDAHOSTS
CLIENT_LOGIN="backup" FORCE_USERID HAVE_GZIP
So it seems to me everywhere I look that it should be running with user
"backup" but it still tries to run as localuser 'root'. I just don't
understand it.
Thanks,
Jeff
----- Original Message -----
From: "Paddy Sreenivasan" <[EMAIL PROTECTED]>
To: "Jeff Portwine" <[EMAIL PROTECTED]>
Cc: <amanda-users@amanda.org>
Sent: Wednesday, August 02, 2006 4:39 PM
Subject: Re: amanda config problems
Jeff,
Check
http://wiki.zmanda.com/index.php/Amcheck:_access_as_localuser_not_allowed_from_remoteuser%40remotehost
Paddy
On 8/2/06, Jeff Portwine <[EMAIL PROTECTED]> wrote:
Hello,
I'm having problems with my amanda configuration and I'm not sure if it
is
with the client or the server, though it seems at the moment to be the
server. I've tried going through the FAQ, Docs, etc and even asked on
the
IRC channel but I can't figure out what's going on.
I installed amanda with the --with-user and --with-group both set to
"backup". When I run amcheck as the backup user I get the error
message:
ERROR: NAK <amandaclient.com>: access as root not allowed from
backup@<amandaserver.com>: cannot open /root/.amandahosts: Permission
denied
I don't understand what it's trying to do as root or why, I'm not running
amcheck as root. If I do try to run it as root, I see the message
"running as root instead of backup" so I know that it knows it's supposed
to
be running as user backup...
What am I doing wrong?
Thanks,
Jeff
--
Amanda documentation: http://wiki.zmanda.com
Amanda forums: http://forums.zmanda.com