|
@@ -32,8 +32,8 @@ class CreateLinuxWebUser
|
|
|
$command = 'adduser --disabled-password --gecos "" "'.$username.'"';
|
|
|
$output .= ShellApi::exec($command);
|
|
|
|
|
|
- $command = 'groupadd '.$username;
|
|
|
- $output .= ShellApi::exec($command);
|
|
|
+// $command = 'groupadd '.$username;
|
|
|
+// $output .= ShellApi::exec($command);
|
|
|
|
|
|
$command = 'usermod -a -G www-data '.$username;
|
|
|
$output .= ShellApi::exec($command);
|