add backuppc to a more privileged group and setup sudo so that you can run some very specific Backuppc_* commands without a password.  Also, remove the password for the user backuppc in the CGI interface and config some other user to have access to all so that the CGI can't be exploited to run commands as the backuppc use(easily anyway).

On Tue, Apr 29, 2008 at 1:25 PM, Tino Schwarze <backuppc.lists@tisc.de> wrote:
Hi Maudro,

On Tue, Apr 29, 2008 at 08:11:39PM +0200, Mauro Condarelli wrote:

> this question should be beaten to death by now, but I'm unable to find a
> solution (shame on me!).
>
> I have an ubuntu/linux server with attached storage where I installed
> BackupPC via apt.
>
> I used the default "backuppc" unprivileged user.
>
> I need to backup some remote shares and this works Ok using either smb
> or rsync (depending on the O.S. of the remote machine).
>
> I also need to backup some directories that are on the local machine and
> I used 'tar', but this does not work because some parts of the things I
> need to backup are not world-readable. How should I set-up things so
> backuppc gets enough privileges to read whatever?

Either use a special sudo command or just use tar over ssh to backup
locally.

Bye,

Tino.

--
„What we resist, persists." (Zen saying)

www.craniosacralzentrum.de
www.forteego.de

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/