diff options
author | Colin Smith <colin@pfsense.org> | 2005-06-26 07:39:51 +0000 |
---|---|---|
committer | Colin Smith <colin@pfsense.org> | 2005-06-26 07:39:51 +0000 |
commit | 508943c37ec9b40aa17f03c4ccb07f0a2c9c6e76 (patch) | |
tree | a1913100752f9294bedbe770b99019984d9bc20b /packages | |
parent | 36802fbd8f463ab2f85e402b75689015c5346430 (diff) | |
download | pfsense-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.
Diffstat (limited to 'packages')
-rw-r--r-- | packages/freeradius.xml | 1 |
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"); |