summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Murphy <patrick.muprphy@multitech.com>2020-04-23 10:47:47 -0500
committerPatrick Murphy <patrick.muprphy@multitech.com>2020-04-23 10:47:47 -0500
commitb32b04c3f1b354b0b75c5c8badae714a35b9d62b (patch)
tree23fa11c4ac388a864aedde8d61b1b532ec7f6cdc
parent6f6d2e50dc3e3ae598d50743f6f7f876d2b8201b (diff)
downloadcommissioning-b32b04c3f1b354b0b75c5c8badae714a35b9d62b.tar.gz
commissioning-b32b04c3f1b354b0b75c5c8badae714a35b9d62b.tar.bz2
commissioning-b32b04c3f1b354b0b75c5c8badae714a35b9d62b.zip
simplified passwd call
-rw-r--r--src/commission_func.cc2
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;