summaryrefslogtreecommitdiffstats
path: root/etc/sshd
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-10-11 21:40:07 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-10-11 21:40:07 +0000
commit823b7b0fae21b35f9f718016024a5ef7a301ab5f (patch)
treebed879dd465035cb6d0334af040dca8a80cb07bb /etc/sshd
parentd819480cec433f60bc65e8a5808e018242c4c369 (diff)
downloadpfsense-823b7b0fae21b35f9f718016024a5ef7a301ab5f.zip
pfsense-823b7b0fae21b35f9f718016024a5ef7a301ab5f.tar.gz
Silence read-only error
Diffstat (limited to 'etc/sshd')
-rwxr-xr-xetc/sshd3
1 files changed, 2 insertions, 1 deletions
diff --git a/etc/sshd b/etc/sshd
index 1c379e5..15c944c 100755
--- a/etc/sshd
+++ b/etc/sshd
@@ -65,6 +65,7 @@
}
/* Make the root passwords are the same as the web admin password. */
+ conf_mount_rw();
$fd = popen("/usr/sbin/pw usermod -n root -H 0", "w");
fwrite($fd, $config['system']['password']);
pclose($fd);
@@ -115,7 +116,7 @@
echo "Done.\n";
}
-
+ conf_mount_ro();
OpenPOWER on IntegriCloud