Amanda-Users

Re: all estimates failed for gnutar

2004-10-13 11:44:26
Subject: Re: all estimates failed for gnutar
From: Paul Bijnens <paul.bijnens AT xplanation DOT com>
To: Fernan Aguero <fernan AT iib.unsam.edu DOT ar>
Date: Wed, 13 Oct 2004 17:41:35 +0200
Fernan Aguero wrote:

Hmm ... this is what I have in inetd.conf:

amandaidx stream tcp nowait amanda /usr/local/libexec/amanda/amindexd   amindexd
amidxtape stream tcp nowait amanda /usr/local/libexec/amanda/amidxtaped 
amidxtaped
amanda    dgram  udp wait   amanda /usr/local/libexec/amanda/amandad    amandad

And the error message from sendsize.*.debug was:

sendsize[20790]: time 508.709: runtar: error [must be invoked by operator]


The "runtar" program, as said by others, must be owned by root
and have the suid-bit on.

To avoid that anyone can use "runtar" and gain root privileges,
the program checks it is invoked by the user that was specified
at compile time (./configure --with-user=operator).
But you invoked amandad, which invoked runtar, as user "amanda" in the
inetd.conf file.

Solution:  run as user operator on that machine, or, alternatively,
recompile amanda with "./configure --with-user=amanda ...".



--
Paul Bijnens, Xplanation                            Tel  +32 16 397.511
Technologielaan 21 bus 2, B-3001 Leuven, BELGIUM    Fax  +32 16 397.512
http://www.xplanation.com/          email:  Paul.Bijnens AT xplanation DOT com
***********************************************************************
* I think I've got the hang of it now:  exit, ^D, ^C, ^\, ^Z, ^Q, F6, *
* quit,  ZZ, :q, :q!,  M-Z, ^X^C,  logoff, logout, close, bye,  /bye, *
* stop, end, F3, ~., ^]c, +++ ATH, disconnect, halt,  abort,  hangup, *
* PF4, F20, ^X^X, :D::D, KJOB, F14-f-e, F8-e,  kill -1 $$,  shutdown, *
* kill -9 1,  Alt-F4,  Ctrl-Alt-Del,  AltGr-NumLock,  Stop-A,  ...    *
* ...  "Are you sure?"  ...   YES   ...   Phew ...   I'm out          *
***********************************************************************



<Prev in Thread] Current Thread [Next in Thread>