summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-08-21 20:12:00 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-08-21 20:12:00 +0000
commit12f23f46f3de3f0d4f514bb5bd700c548e8847ba (patch)
tree35d1a5e52b6e13919ba735bd0e601e3e3d51902f /etc
parent079948bd272118865ee777adb54e6451673fb6d4 (diff)
downloadpfsense-12f23f46f3de3f0d4f514bb5bd700c548e8847ba.zip
pfsense-12f23f46f3de3f0d4f514bb5bd700c548e8847ba.tar.gz
Mount rw before calling pwd_mkdb
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/pfsense-utils.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/etc/inc/pfsense-utils.inc b/etc/inc/pfsense-utils.inc
index a3d3acb..a07d12c 100644
--- a/etc/inc/pfsense-utils.inc
+++ b/etc/inc/pfsense-utils.inc
@@ -1129,8 +1129,10 @@ function reload_interfaces() {
* none
******/
function sync_webgui_passwords() {
+ conf_mount_rw();
mwexec("/usr/sbin/pwd_mkdb -d /etc/ /etc/master.passwd");
mwexec("/usr/sbin/pwd_mkdb /etc/master.passwd");
+ conf_mount_ro();
}
/****f* pfsense-utils/reload_all_sync
OpenPOWER on IntegriCloud