update
This commit is contained in:
parent
da44186ca9
commit
76d1f10464
2 changed files with 2 additions and 2 deletions
|
@ -27,7 +27,7 @@ class CreateLinuxWebUser
|
|||
$username = $this->username;
|
||||
$password = $this->password;
|
||||
|
||||
$command = 'adduser --disabled-password --gecos "" "'.$username;
|
||||
$command = 'adduser --disabled-password --gecos "" "'.$username.'"';
|
||||
$output .= ShellApi::exec($command);
|
||||
|
||||
$command = 'groupadd '.$username;
|
||||
|
|
|
@ -53,7 +53,7 @@ class ModelHostingSubscriptionCreatedListener
|
|||
$createLinuxWebUser->setUsername($systemUsername);
|
||||
$createLinuxWebUser->setPassword($systemPassword);
|
||||
$createLinuxWebUserOutput = $createLinuxWebUser->handle();
|
||||
|
||||
|
||||
if (strpos($createLinuxWebUserOutput, 'Creating home directory') !== false) {
|
||||
|
||||
$findHostingSubscription->system_username = $systemUsername;
|
||||
|
|
Loading…
Reference in a new issue