forked from Lainports/freebsd-ports
o) Now bacula runs with dropped down permissions as user bacula -> Please reserve UID 910 for this user
14 lines
516 B
C
14 lines
516 B
C
--- src/dird/dird.c 27 Dec 2003 13:14:12 -0000 1.41
|
|
+++ src/dird/dird.c 2 Jan 2004 17:21:21 -0000 1.42
|
|
@@ -197,10 +197,10 @@
|
|
init_stack_dump(); /* grab new pid */
|
|
}
|
|
|
|
- drop(uid, gid); /* reduce priveleges if requested */
|
|
-
|
|
/* Create pid must come after we are a daemon -- so we have our final pid */
|
|
create_pid_file(director->pid_directory, "bacula-dir", director->DIRport);
|
|
+
|
|
+ drop(uid, gid); /* reduce priveleges if requested */
|
|
|
|
/* signal(SIGHUP, reload_config); */
|