diff options
author | smos <seth.mos@dds.nl> | 2010-05-13 19:02:02 +0200 |
---|---|---|
committer | smos <seth.mos@dds.nl> | 2010-05-13 19:03:16 +0200 |
commit | 883b25522646849a376438c6413b0b5fd008e60f (patch) | |
tree | 901f0a44f700236bbaf331c78bde159042fded59 /etc/inc | |
parent | 99b9708b2f2d9ede510a1fe0b16dfdb2cfa998aa (diff) | |
download | pfsense-883b25522646849a376438c6413b0b5fd008e60f.zip pfsense-883b25522646849a376438c6413b0b5fd008e60f.tar.gz |
Correct the shell for the admin account, this should be /etc/rc.initial. Not /bin/sh
Diffstat (limited to 'etc/inc')
-rw-r--r-- | etc/inc/auth.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/auth.inc b/etc/inc/auth.inc index d1be73e..826582f 100644 --- a/etc/inc/auth.inc +++ b/etc/inc/auth.inc @@ -298,7 +298,7 @@ function local_user_set(& $user) { /* admin user special handling */ if ($user_uid == 0) { - $cmd = "/usr/sbin/pw usermod -q -n {$user_name} -s /bin/sh -H 0"; + $cmd = "/usr/sbin/pw usermod -q -n {$user_name} -s /etc/rc.initial -H 0"; if($debug) log_error("Running: {$cmd}"); $fd = popen($cmd, "w"); |