Amanda-Users

UID under which amanda services should run, if backup server is only client?

2007-07-02 11:29:42
Subject: UID under which amanda services should run, if backup server is only client?
From: "Mark Scheufele" <mark.scheufele AT diasemi DOT com>
To: <amanda-users AT amanda DOT org>
Date: Mon, 2 Jul 2007 17:12:07 +0200
Hi,

in our amanda setup there are no other clients than the backup server
itself. The amanda software was compiled with the
options--with-user=amanda --with-owner=amanda --with-group=sys so that
all services do run under a separate amanda user. 

To be able to read all files within the local filesystems I have set the
parameter dumpuser to "root" in the amanda.conf file. Backups are now
running fine. But I am running into permission problems with amrecover.

The problem is that all files under etc/<config>/index and all log.*
files under etc/<config> are all assigned to the root user. The amindexd
yet runs under the amanda user and therefore isn't able to read those
files properly.

To fix the problem I was thinking about recompiling amanda to run all
services completely under the uid root to avoid the permission problems.

But maybe there is a better way to accomplish my goal. It would be great
if someone could point me into the right direction.

Many thanks in advance,

mark
Dialog Semiconductor GmbH
Neue Str. 95
D-73230 Kirchheim
Managing Director: Dr. Jalal Bagherli
Chairman of the Supervisory Board: Gregorio Reyes
Commercial register: Amtsgericht Stuttgart: HRB 231181
UST-ID-Nr. DE 811121668


Legal Disclaimer: This e-mail communication (and any attachment/s) is 
confidential and 
contains proprietary information, some or all of which may be legally 
privileged. It is 
intended solely for the use of the individual or entity to which it is 
addressed. Access 
to this email by anyone else is unauthorized. If you are not the intended 
recipient, any
disclosure, copying, distribution or any action taken or omitted to be taken in 
reliance
on it, is prohibited and may be unlawful.


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