diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-08-21 20:12:00 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-08-21 20:12:00 +0000 |
commit | 12f23f46f3de3f0d4f514bb5bd700c548e8847ba (patch) | |
tree | 35d1a5e52b6e13919ba735bd0e601e3e3d51902f /etc | |
parent | 079948bd272118865ee777adb54e6451673fb6d4 (diff) | |
download | pfsense-12f23f46f3de3f0d4f514bb5bd700c548e8847ba.zip pfsense-12f23f46f3de3f0d4f514bb5bd700c548e8847ba.tar.gz |
Mount rw before calling pwd_mkdb
Diffstat (limited to 'etc')
-rw-r--r-- | etc/inc/pfsense-utils.inc | 2 |
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 |