mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2026-01-17 13:02:07 +01:00
full path to adduser
This commit is contained in:
@@ -50,7 +50,7 @@ class vhost:
|
||||
if os.path.exists("/etc/lsb-release"):
|
||||
command = '/usr/sbin/adduser --no-create-home --home ' + path + ' --disabled-login --gecos "" ' + virtualHostUser
|
||||
else:
|
||||
command = "adduser " + virtualHostUser + " -M -d " + path
|
||||
command = "/usr/sbin/adduser " + virtualHostUser + " -M -d " + path
|
||||
|
||||
ProcessUtilities.executioner(command)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user