summaryrefslogtreecommitdiffstats
path: root/etc/inc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-10-08 04:36:59 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-10-08 04:36:59 +0000
commitac21b32911058a1bb1e092cf67af1956c366483f (patch)
treeed0a16576e9dfe5993caf897e52c105070eb396b /etc/inc
parentb3a88dd6dad3da07ecd496fb7b0f7d91d105ec0e (diff)
downloadpfsense-ac21b32911058a1bb1e092cf67af1956c366483f.zip
pfsense-ac21b32911058a1bb1e092cf67af1956c366483f.tar.gz
Set root shell to /bin/sh when syncing
Diffstat (limited to 'etc/inc')
-rw-r--r--etc/inc/pfsense-utils.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/pfsense-utils.inc b/etc/inc/pfsense-utils.inc
index 9239fa9..e8178ae 100644
--- a/etc/inc/pfsense-utils.inc
+++ b/etc/inc/pfsense-utils.inc
@@ -1199,7 +1199,7 @@ function sync_webgui_passwords() {
$fd = popen("/usr/sbin/pw usermod -n root -H 0", "w");
fwrite($fd, $crypted_pw);
pclose($fd);
- mwexec("/usr/sbin/pw usermod -n root -s /etc/rc.initial");
+ mwexec("/usr/sbin/pw usermod -n root -s /bin/sh");
/* sync admin */
$fd = popen("/usr/sbin/pw usermod -n admin -H 0", "w");
fwrite($fd, $crypted_pw);
OpenPOWER on IntegriCloud