From 00a44ccea5f06d571b6f40e0082f9cb1216b700b Mon Sep 17 00:00:00 2001 From: Usman Nasir Date: Sun, 4 Apr 2021 14:10:48 +0500 Subject: [PATCH] bug fix: full path for add user --- plogical/vhost.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plogical/vhost.py b/plogical/vhost.py index 833cb74de..8cc56c983 100755 --- a/plogical/vhost.py +++ b/plogical/vhost.py @@ -54,7 +54,7 @@ class vhost: command = "/usr/sbin/groupadd " + virtualHostUser ProcessUtilities.executioner(command) - command = "usermod -a -G " + virtualHostUser + " " + virtualHostUser + command = "/usr/sbin/usermod -a -G " + virtualHostUser + " " + virtualHostUser ProcessUtilities.executioner(command) except BaseException as msg: