On 9/9/07, Arno Lehmann <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> 09.09.2007 22:32,, Hydro Meteor wrote::
> > As a followup to this message, I retraced my notes with regard to the
> > configuration options that I passed to ./configure and was reminded that
> > I had explicitly set the user and groups to the appropriate non-root
> > user and non-root group on my system:
> >
> >     --with-dir-user=admini
> >
> >     --with-dir-group=staff
> >
> >     --with-sd-user=admini
> >
> >     --with-sd-group=staff
> >
> >     --with-fd-user=admini
> >
> >     --with-fd-group=staff
> >
> > I believe this has solved the problem ( e.g., I still need to start the
> > bacula start script as the root user but then I noticed the PIDs were
> > running correctly with the user admini).
>
> That's as it should be.
>
> > There has been other references in the documentation such that the file
> > daemon really needs to run as the root user so I'm wondering if I will
> > get myself into trouble having configured with the configure options for
> > the file daemon also specifying the non-root-user and non-root group?
>
> Probably, yes. The FD needs permissions to access all the files you
> want to back up.
>
> As long as the file set you use is restricted to files accessible by
> admini:staff, that's ok. Once you try to store system configuration
> data or the OS files, or even regular user data, you'll probably find
> that the FD needs more permissions. Usually, that's when you decide to
> run it as root :-)


Arno,

Thanks for your reconfirmation. I ended up changing my mind and decided to
re-install Bacula such that only root will run FD. I'm pleased to say that I
my first attempt after re-installing worked out great (all three Bacula
daemons are running fine and speaking to my PostgreSQL 8.1.9 database). I
have to do some test running now but at least my daemons are running without
any errors. Thanks again!

-H


Arno


[snip]
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to