Hi,

> Thanks Chris it appears you have found my problem.
[...]
> After issuing strings /opt/amanda/libexec/sendbackup | grep
> amandapass it returns nothing.

I assume you have used your path in the statement above? /opt is not the 
default amanda directory.

> So back to compiling amanda.
> I have compiled amanda 2.4.4 and 2.4.4p1 with the following
> ./configure --with-smbclient=/usr/local/samba/bin/smbclient
> --with-user=operator --with-group=sys --with-config=SElvl0 --wit
> h-suffixes --with-libraries=/usr/local/lib
>
> After doing a make, I so another search for amandapass in sendbackup
>
> /amanda-2.4.4p1/client-src$ strings - sendbackup* |grep amandapass
                                   ^^^^^^

What is this hyphen doing there?

> Do you have any other suggestions?  Is there possibly something else
> I'm missing?

I just had a look at the sources here:

[EMAIL PROTECTED] grep amandapass *.c
findpass.c:  if ( (fp = fopen("/etc/amandapass", "r")) ) {
selfcheck.c:    testfd = open("/etc/amandapass", R_OK);
selfcheck.c:                printf("ERROR [/etc/amandapass is world 
readable!]\n");
selfcheck.c:                printf("OK [/etc/amandapass is readable, but 
not by all]\n");
selfcheck.c:            printf("OK [unable to stat /etc/amandapass: 
%s]\n",
selfcheck.c:        printf("ERROR [unable to open /etc/amandapass: 
%s]\n",

It looks as if the path "/etc/amandapass" is hard coded.

Christopher

-- 
======================================================
    Dipl.-Ing. Christopher Odenbach
    HNI Rechnerbetrieb
    [EMAIL PROTECTED]
    Tel.: +49 5251 60 6215
======================================================

Reply via email to