Bug 442187
| Summary: | [PATCH] support for providing console password in STDIN | ||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [Retired] 389 | Reporter: | Aleksander Adamowski <bugs-redhat> | ||||||||||||||
| Component: | Directory Console | Assignee: | Rich Megginson <rmeggins> | ||||||||||||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Chandrasekar Kannan <ckannan> | ||||||||||||||
| Severity: | low | Docs Contact: | |||||||||||||||
| Priority: | low | ||||||||||||||||
| Version: | 1.1.0 | CC: | benl, yzhang | ||||||||||||||
| Target Milestone: | --- | ||||||||||||||||
| Target Release: | --- | ||||||||||||||||
| Hardware: | All | ||||||||||||||||
| OS: | Linux | ||||||||||||||||
| Whiteboard: | |||||||||||||||||
| Fixed In Version: | 8.1 | Doc Type: | Bug Fix | ||||||||||||||
| Doc Text: | Story Points: | --- | |||||||||||||||
| Clone Of: | Environment: | ||||||||||||||||
| Last Closed: | 2009-04-29 23:03:45 UTC | Type: | --- | ||||||||||||||
| Regression: | --- | Mount Type: | --- | ||||||||||||||
| Documentation: | --- | CRM: | |||||||||||||||
| Verified Versions: | Category: | --- | |||||||||||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||||||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||||||||||
| Embargoed: | |||||||||||||||||
| Bug Depends On: | |||||||||||||||||
| Bug Blocks: | 249650, 452721 | ||||||||||||||||
| Attachments: |
|
||||||||||||||||
|
Description
Aleksander Adamowski
2008-04-12 15:10:40 UTC
Created attachment 302223 [details]
Patch against Console.java
Created attachment 302224 [details]
ZIP with the compiled Console class
For your testing convenience, I'm attaching a compiled version of the modified
class.
In order to use it, simply replace the Console class files in the
idm-console-mcc-1.1.0.jar JAR archive, they reside in JAR's subdirectory named
"/com/netscape/management/client/console/".
Created attachment 302225 [details]
A better patch
Another version of the patch:
1) in order to be consistent with FDS's ldapsearch argument naming conventions,
it uses "-w -" for reading password from standard input. FDS's ldapsearch
reserves "-W" for reading SSL certificate password.
2) implements the "-y" argument for reading password from a file
3) documents the (until now) undocumented options in the syntax help output
("-h").
Created attachment 302231 [details]
Corrected patch
I forgot to close the password file after I'm done with it. This should be the
final version.
Created attachment 302232 [details]
ZIP with the compiled class - latest version
How about checking this in? There's nothing more preventing the checkin AFAIK. Created attachment 310084 [details]
cvs commit log
idm-console-framework-1.1.2-1.fc8 has been submitted as an update for Fedora 8. http://admin.fedoraproject.org/updates/idm-console-framework-1.1.2-1.fc8 idm-console-framework-1.1.2-1.fc9 has been submitted as an update for Fedora 9. http://admin.fedoraproject.org/updates/idm-console-framework-1.1.2-1.fc9 idm-console-framework-1.1.2-1.fc8 has been pushed to the Fedora 8 stable repository. If problems still persist, please make note of it in this bug report. idm-console-framework-1.1.2-1.fc9 has been pushed to the Fedora 9 stable repository. If problems still persist, please make note of it in this bug report. verified on rhel5 32bit & hp-ux test result: pass pass means the following 1. no password being recorded in log files (including admin server access and error log file and dirsrv server access and error log file) 2. -w option still works fine An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHEA-2009-0455.html |