aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorColin Smith <colin@pfsense.org>2005-06-26 07:39:51 +0000
committerColin Smith <colin@pfsense.org>2005-06-26 07:39:51 +0000
commit508943c37ec9b40aa17f03c4ccb07f0a2c9c6e76 (patch)
treea1913100752f9294bedbe770b99019984d9bc20b
parent36802fbd8f463ab2f85e402b75689015c5346430 (diff)
downloadpfsense-packages-508943c37ec9b40aa17f03c4ccb07f0a2c9c6e76.tar.gz
pfsense-packages-508943c37ec9b40aa17f03c4ccb07f0a2c9c6e76.tar.bz2
pfsense-packages-508943c37ec9b40aa17f03c4ccb07f0a2c9c6e76.zip
chmod() the users configuration file after each write. This addresses ticket #130.
-rw-r--r--packages/freeradius.xml1
1 files changed, 1 insertions, 0 deletions
diff --git a/packages/freeradius.xml b/packages/freeradius.xml
index 9f87fa92..279ff469 100644
--- a/packages/freeradius.xml
+++ b/packages/freeradius.xml
@@ -107,6 +107,7 @@
}
}
fclose($fout);
+ chmod("/usr/local/etc/raddb/users", 0600);
conf_mount_ro();
config_unlock();
restart_service("freeradius");