summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-09-24 19:46:28 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-09-24 19:46:28 +0000
commitec2a000e4fff9f4cb62d384ba22a4eb8dd05baee (patch)
tree21f54a9d41dad02f31bb1d18240fc09888481107 /etc
parent5c154fab401b1bc1a6e4bcfa09b3ffb0317d3a49 (diff)
downloadpfsense-ec2a000e4fff9f4cb62d384ba22a4eb8dd05baee.zip
pfsense-ec2a000e4fff9f4cb62d384ba22a4eb8dd05baee.tar.gz
* Sync master password correctly
* Add 100 to advskew and cap at 255
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/pfsense-utils.inc4
-rwxr-xr-xetc/rc1
2 files changed, 1 insertions, 4 deletions
diff --git a/etc/inc/pfsense-utils.inc b/etc/inc/pfsense-utils.inc
index 89df2d3..1b00667 100644
--- a/etc/inc/pfsense-utils.inc
+++ b/etc/inc/pfsense-utils.inc
@@ -765,7 +765,7 @@ function backup_vip_config_section() {
}
if($section['advskew'] <> "") {
$section_val = intval($section['advskew']);
- $section_val=$section_val+50;
+ $section_val=$section_val+100;
if($section_val > 255)
$section_val = 255;
$section['advskew'] = $section_val;
@@ -1189,7 +1189,6 @@ function reload_interfaces() {
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();
}
@@ -1267,7 +1266,6 @@ function reload_all_sync() {
/* sync pw database */
conf_mount_rw();
mwexec("/usr/sbin/pwd_mkdb -d /etc/ /etc/master.passwd");
- mwexec("/usr/sbin/pwd_mkdb /etc/master.passwd");
conf_mount_ro();
}
diff --git a/etc/rc b/etc/rc
index 1b705a3..dabcd4d 100755
--- a/etc/rc
+++ b/etc/rc
@@ -158,7 +158,6 @@ fi
echo -n "Syncing master.passwd... "
/usr/sbin/pwd_mkdb -d /etc/ /etc/master.passwd
-/usr/sbin/pwd_mkdb /etc/master.passwd
echo "done."
# Create an initial utmp file
OpenPOWER on IntegriCloud