[asterisk-commits] qwell: trunk r63983 - in /trunk: ./ main/manager.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Fri May 11 13:16:57 MST 2007


Author: qwell
Date: Fri May 11 15:16:56 2007
New Revision: 63983

URL: http://svn.digium.com/view/asterisk?view=rev&rev=63983
Log:
Merged revisions 63982 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r63982 | qwell | 2007-05-11 15:16:17 -0500 (Fri, 11 May 2007) | 7 lines

Hide manager password from "manager show user foo".

I realize that there are other ways to get this,
 but we really don't need to just show it in plain text so easily.

Issue 9273, patch by junky

........

Modified:
    trunk/   (props changed)
    trunk/main/manager.c

Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-1.4-merged' - no diff available.

Modified: trunk/main/manager.c
URL: http://svn.digium.com/view/asterisk/trunk/main/manager.c?view=diff&rev=63983&r1=63982&r2=63983
==============================================================================
--- trunk/main/manager.c (original)
+++ trunk/main/manager.c Fri May 11 15:16:56 2007
@@ -495,7 +495,7 @@
 		"          write: %s\n"
 		"displayconnects: %s\n",
 		(user->username ? user->username : "(N/A)"),
-		(user->secret ? user->secret : "(N/A)"),
+		(user->secret ? "<Set>" : "(N/A)"),
 		(user->deny ? user->deny : "(N/A)"),
 		(user->permit ? user->permit : "(N/A)"),
 		(user->read ? user->read : "(N/A)"),



More information about the asterisk-commits mailing list