Bug 446865
| Summary: | ipa-server-install will log passwords to log files | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Retired] freeIPA | Reporter: | Martin Nagy <mnagy> | ||||
| Component: | ipa-server | Assignee: | Rob Crittenden <rcritten> | ||||
| Status: | CLOSED ERRATA | QA Contact: | Chandrasekar Kannan <ckannan> | ||||
| Severity: | high | Docs Contact: | |||||
| Priority: | high | ||||||
| Version: | 1.0 | CC: | benl, hripps, rvokal | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | All | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | freeipa-2.0.0-1.fc15 | Doc Type: | Bug Fix | ||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2012-03-27 07:16:57 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: | 429034 | ||||||
| Attachments: |
|
||||||
|
Description
Martin Nagy
2008-05-16 14:48:17 UTC
Created attachment 305990 [details]
Don't pass the DM password on the command-line, use a file
ipa-1-0: 649dcf6c445d99f13151eef4c518635e03d496a5 master: 6c87f831806af51539824244d684c2431b8e7af7 QA Verified on May 22, 2008 (Yi)
Build used: May 22, 2008 (x64)
test run:
1. yum install ipa-server
2. change the file: /usr/share/ipa/bootstrap-template.ldif to different file
3. ipa-server-install
--- result: the install failed, but there is no password logged, test passed
2008-05-22 15:20:27,956 INFO
2008-05-22 15:20:27,957 DEBUG [12/16]: adding default layout
2008-05-22 15:20:27,962 DEBUG [Errno 2] No such file or directory:
'/usr/share/ipa/bootstrap-template.ldif'
File "/usr/sbin/ipa-server-install", line 556, in ?
main()
File "/usr/sbin/ipa-server-install", line 482, in main
ds.create_instance(ds_user, realm_name, host_name, domain_name, dm_password)
File "/usr/lib/python2.4/site-packages/ipaserver/dsinstance.py", line 182, in
create_instance
self.start_creation("Configuring directory server:")
File "/usr/lib/python2.4/site-packages/ipaserver/service.py", line 139, in
start_creation
method()
File "/usr/lib/python2.4/site-packages/ipaserver/dsinstance.py", line 359, in
__add_default_layout
self.__ldap_mod("bootstrap-template.ldif", self.sub_dict)
File "/usr/lib/python2.4/site-packages/ipaserver/dsinstance.py", line 279, in
__ldap_mod
txt = ipautil.template_file(path, sub_dict)
|