1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
--- src/apolicy/config.py.orig 2008-11-24 07:53:32.000000000 +0000
+++ src/apolicy/config.py 2008-11-24 07:53:53.000000000 +0000
@@ -22,7 +22,7 @@
import pwd
from ConfigParser import ConfigParser
-config_path = "/etc/apolicy/main.conf"
+config_path = "/usr/local/etc/apolicy/main.conf"
if "APOLICY_CONFIG_PATH" in os.environ:
config_path = os.environ["APOLICY_CONFIG_PATH"]
@@ -42,7 +42,7 @@
config.set("main", "timeout", "5")
if not config.has_option("main", "policy_path"):
- config.set("main", "policy_path", "/etc/apolicy/policy.conf")
+ config.set("main", "policy_path", "/usr/local/etc/apolicy/policy.conf")
user = pwd.getpwnam(config.get("main", "user"))
config.set("main", "uid", str(user[2]))
|