From ae0e5f5ac7c7b644d62d6eb8c6df171e77776680 Mon Sep 17 00:00:00 2001 From: Patrick Murphy Date: Wed, 22 Apr 2020 17:58:23 -0500 Subject: addressed missing line in useradd creation --- src/commission_func.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/commission_func.cc b/src/commission_func.cc index 10e47cf..e28cda3 100644 --- a/src/commission_func.cc +++ b/src/commission_func.cc @@ -388,7 +388,7 @@ std::string passwd_cmd_gen(std::string pw) { } std::string useradd_cmd_gen(std::string usr) { - std::string cmd = "/usr/sbin/useradd -U -m -G sudo,dialout,disk -s /bin/bash \""; + std::string cmd = "/usr/sbin/useradd -U -m -G sudo,dialout,disk -s /bin/bash -- \""; cmd +=usr; cmd +="\""; return cmd; -- cgit v1.2.3