diff options
author | Patrick Murphy <patrick.muprphy@multitech.com> | 2020-04-23 10:47:47 -0500 |
---|---|---|
committer | Patrick Murphy <patrick.muprphy@multitech.com> | 2020-04-23 10:47:47 -0500 |
commit | b32b04c3f1b354b0b75c5c8badae714a35b9d62b (patch) | |
tree | 23fa11c4ac388a864aedde8d61b1b532ec7f6cdc | |
parent | 6f6d2e50dc3e3ae598d50743f6f7f876d2b8201b (diff) | |
download | commissioning-b32b04c3f1b354b0b75c5c8badae714a35b9d62b.tar.gz commissioning-b32b04c3f1b354b0b75c5c8badae714a35b9d62b.tar.bz2 commissioning-b32b04c3f1b354b0b75c5c8badae714a35b9d62b.zip |
simplified passwd call
-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 6f510f6..14dd49f 100644 --- a/src/commission_func.cc +++ b/src/commission_func.cc @@ -382,7 +382,7 @@ bool legalName(std::string name) { /*** generate command functions ***/ std::string passwd_cmd_gen(std::string pw) { - std::string cmd = "/usr/bin/passwd \""; + std::string cmd = "passwd \""; cmd +=pw; cmd +="\""; return cmd; |