On Nov 18, 2008, at 12:37 PM, John Drescher wrote: > On Tue, Nov 18, 2008 at 12:03 PM, Kevin Keane > <[EMAIL PROTECTED]> wrote: >> In the documentation, I saw the tip to run the director and the SD >> as a >> non-root user ( >> http://www.bacula.org/en/rel-manual/Bacula_Security_Issues.html#SECTION004630000000000000000 >> ) I like that idea very much. >> >> But I can't quite figure out how to actually do it, because I can't >> figure out how to tell bacula-dir and bacula-sd to become user >> "bacula" >> instead of continuing to run as root. What am I missing? >> > > You need to edit your startup scripts. This tends to be distribution > specific so you might want to ask your distro. Or at minimum tell us > what distro you are using.
Further to that, I feel that any packaging which runs DIr and SD as root is broken. See http://www.bacula.org/en/rel-manual/Brief_Tutorial.html#SECTION0012140000000000000000 That should have the options. It does not. But here's a start: $ bacula-dir -? Copyright (C) 2000-2008 Free Software Foundation Europe e.V. Version: 2.4.3 (10 October 2008) Usage: dird [-f -s] [-c config_file] [-d debug_level] [config_file] -c <file> set configuration file to file -dnn set debug level to nn -f run in foreground (for debugging) -g groupid -r <job> run <job> now -s no signals -t test - read configuration and exit -u userid -v verbose user messages -? print this message. -- Dan Langille http://langille.org/ ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users