On Mon, 22 Apr 2002 at 10:29am, Morrison, Trevor (Trevor) wrote

Two things:

1) Please keep amanda-users on the CC list, so that all can help out and 
   so that it's in the archives

2) Please use some carriage returns -- I see your text as one big line.
   (checks headers) Ah, M$ware -- I'm so sorry.  Maybe exchange is futzing
   with things along the way...

3) Please respond below quoted text.

Oops, that was 3... :)

> when I configured amanda I used the --with-user=amanda 
> --with-group=amanda, so I am running amandad as user amanda. I did not 
> use the --wtih-tmpdir=/tmp option.  I copied the entry for POP# when I 
> created the xinetd file called amanda use amanda as the user.  Would 
> amdump even execute if the user was not correct?  Also,  I noticed that 
> I had to give 751 permission on any directory that I wanted to back up.  

AIIEEEE!  You should *not* have to do this.

> I tried adding amanda to the disk group and the root group, but to no 
> avail.  I really do not fully understand the permissions that amanda 
> requires.  I thought by adding amanda to the respective groups that own 
> the directories that that would be fine.  Could you straighten me out on 
> this.  TIA.

To have xinetd run the program with *all* groups the user belongs to, you 
need a "groups=yes" line in the appropriate service file (i.e. 
/etc/xinetd.d/amanda).  Also, certain bits of amanda should be installed 
setuid root.  What does 'ls -l /usr/local/libexec | grep rws' say?  This 
allows amanda to be root to backup stuff via tar.

-- 
Joshua Baker-LePain
Department of Biomedical Engineering
Duke University





Reply via email to