diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-10-08 04:36:59 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-10-08 04:36:59 +0000 |
commit | ac21b32911058a1bb1e092cf67af1956c366483f (patch) | |
tree | ed0a16576e9dfe5993caf897e52c105070eb396b /etc/inc | |
parent | b3a88dd6dad3da07ecd496fb7b0f7d91d105ec0e (diff) | |
download | pfsense-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.inc | 2 |
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); |