From: Remi Gacogne Date: Thu, 8 Apr 2021 16:25:14 +0000 (+0200) Subject: auth: Be more straightforward in pdnsutil for 'hash-password' X-Git-Tag: dnsdist-1.7.0-alpha1~12^2~19 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f65bcae9c70aaae2078362049200f7d03a100a5f;p=thirdparty%2Fpdns.git auth: Be more straightforward in pdnsutil for 'hash-password' --- diff --git a/pdns/pdnsutil.cc b/pdns/pdnsutil.cc index 4c73ff07e6..9ac96d8cae 100644 --- a/pdns/pdnsutil.cc +++ b/pdns/pdnsutil.cc @@ -2483,6 +2483,14 @@ try return 0; } + else if (cmds[0]=="hash-password") { + if (cmds.size() < 2) { + cerr<<"Syntax: pdnsutil hash-password PASSWORD"<