Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 302223 Details for
Bug 442187
[PATCH] support for providing console password in STDIN
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Patch against Console.java
password_from_stdin.patch (text/plain), 1.43 KB, created by
Aleksander Adamowski
on 2008-04-12 15:10:40 UTC
(
hide
)
Description:
Patch against Console.java
Filename:
MIME Type:
Creator:
Aleksander Adamowski
Created:
2008-04-12 15:10:40 UTC
Size:
1.43 KB
patch
obsolete
>Index: src/com/netscape/management/client/console/Console.java >=================================================================== >RCS file: /cvs/dirsec/console/src/com/netscape/management/client/console/Console.java,v >retrieving revision 1.12 >diff -u -r1.12 Console.java >--- src/com/netscape/management/client/console/Console.java 7 Dec 2007 20:44:38 -0000 1.12 >+++ src/com/netscape/management/client/console/Console.java 12 Apr 2008 14:31:07 -0000 >@@ -1515,7 +1515,7 @@ > */ > > static public void main(String argv[]) { >- GetOpt opt = new GetOpt("h:a:A:f:l:u:w:s:D:x:", argv); >+ GetOpt opt = new GetOpt("h:a:A:f:l:u:w:W:s:D:x:", argv); > > if (opt.hasOption('f')) { > String outFile = opt.getOptionParam('f'); >@@ -1632,7 +1632,18 @@ > String password = null; > if (opt.hasOption('w')) { > password = opt.getOptionParam('w'); >+ } else if (opt.hasOption('W')) { >+ try { >+ password = (new BufferedReader(new InputStreamReader(System.in))) >+ .readLine(); >+ } catch (IOException e) { >+ System.err >+ .println("Problem reading password from standard input " >+ + e.getMessage()); >+ e.printStackTrace(System.err); >+ } > } >+ > > _console = new Console(sAdminURL, localAdminURL, sLang, host, uid, password); > return;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 442187
:
302223
|
302224
|
302225
|
302231
|
302232
|
310084