diff options
author | Patrick Murphy <patrick.muprphy@multitech.com> | 2020-04-22 17:58:23 -0500 |
---|---|---|
committer | Patrick Murphy <patrick.muprphy@multitech.com> | 2020-04-22 17:58:23 -0500 |
commit | ae0e5f5ac7c7b644d62d6eb8c6df171e77776680 (patch) | |
tree | a3fbb7c1f38a3f2cb9b8b3ebfe3c8ed70b26b223 /src | |
parent | 1722b6bb4faa14ac4ae1bb1326d389df0b7fa46e (diff) | |
download | commissioning-ae0e5f5ac7c7b644d62d6eb8c6df171e77776680.tar.gz commissioning-ae0e5f5ac7c7b644d62d6eb8c6df171e77776680.tar.bz2 commissioning-ae0e5f5ac7c7b644d62d6eb8c6df171e77776680.zip |
addressed missing line in useradd creation
Diffstat (limited to 'src')
-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; |