summaryrefslogtreecommitdiffstats
path: root/etc/sshd
diff options
context:
space:
mode:
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