Remove "-G all" as it was causing the useradd operation to fail, leading to other failures. (Users were not added to passwd, home directories were not being made, etc)

This commit is contained in:
jim-p 2009-12-24 17:41:36 -05:00
parent 461df7c07a
commit eb72845cea

View File

@ -290,7 +290,7 @@ function local_user_set(& $user) {
/* add or mod pw db */
$cmd = "/usr/sbin/pw {$user_op} -q -u {$user_uid} -n {$user_name}".
" -g {$user_group} -G all -s {$user_shell} -d {$user_home}".
" -g {$user_group} -s {$user_shell} -d {$user_home}".
" -c ".escapeshellarg($user['fullname'])." -H 0 2>&1";
if($debug)