[asterisk-commits] dlee: branch dlee/ari-authn r393062 - /team/dlee/ari-authn/res/stasis_http/cli.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Thu Jun 27 15:26:18 CDT 2013


Author: dlee
Date: Thu Jun 27 15:26:17 2013
New Revision: 393062

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=393062
Log:
Added warning about command history

Modified:
    team/dlee/ari-authn/res/stasis_http/cli.c

Modified: team/dlee/ari-authn/res/stasis_http/cli.c
URL: http://svnview.digium.com/svn/asterisk/team/dlee/ari-authn/res/stasis_http/cli.c?view=diff&rev=393062&r1=393061&r2=393062
==============================================================================
--- team/dlee/ari-authn/res/stasis_http/cli.c (original)
+++ team/dlee/ari-authn/res/stasis_http/cli.c Thu Jun 27 15:26:17 2013
@@ -220,7 +220,12 @@
 		e->command = "ari mkpasswd";
 		e->usage =
 			"Usage: ari mkpasswd <password>\n"
-			"       Encrypts a password for use in stasis_http.conf\n";
+			"       Encrypts a password for use in stasis_http.conf\n"
+			"       Be aware that the password will be shown in the\n"
+			"       command line history. The mkpasswd shell command\n"
+			"       may be preferable."
+			;
+		e->history_preprocessor = clear_password;
 		return NULL;
 	case CLI_GENERATE:
 		return NULL;




More information about the asterisk-commits mailing list