summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;