diff options
Diffstat (limited to 'src/commission_func.cc')
-rw-r--r-- | src/commission_func.cc | 2 |
1 files changed, 1 insertions, 1 deletions
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; |