mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
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:
parent
461df7c07a
commit
eb72845cea
@ -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)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user