diff options
-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"); |