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;


--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

svn-commits mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/svn-commits

Reply via email to