Bug 1211602

Summary: Hide ipa-server-install KDC master password option (-P)
Product: Red Hat Enterprise Linux 7 Reporter: Petr Vobornik <pvoborni>
Component: ipaAssignee: IPA Maintainers <ipa-maint>
Status: CLOSED ERRATA QA Contact: Namita Soman <nsoman>
Severity: unspecified Docs Contact:
Priority: medium    
Version: 7.0CC: jcholast, ksiddiqu, mkosek, ppicka, rcritten
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ipa-4.3.1-0.201605191449GITf8edf37.el7 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-11-04 05:45:23 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:

Description Petr Vobornik 2015-04-14 12:19:46 UTC
This bug is created as a clone of upstream ticket:
https://fedorahosted.org/freeipa/ticket/4516

Option "-P" is just a remnant of FreeIPA v1 we no longer need. Admins should not be encouraged in setting KDC master password manually, it is already autogenerated by `ipa-server-install` with the sufficient complexity and password quality.

Comment 1 Petr Vobornik 2015-05-07 14:01:53 UTC
Fixed upstream
master:
https://fedorahosted.org/freeipa/changeset/059a4c188760ec7360ccb68a5c8a292afb21d35e

Comment 3 Pavel Picka 2015-10-01 14:17:26 UTC
Not verified, ipa-server-install -h and --help still showing '-P' as option

Manual page under deprecated options -  OK
within ipa-server-install -P ...  warning showed OK

Output : 

[root@rhel04 ~]# rpm -q ipa-server
ipa-server-4.2.0-12.el7.x86_64
[root@rhel04 ~]# ipa-server-install --help | grep -e "-P"
    -P MASTER_PASSWORD, --master-password=MASTER_PASSWORD
[root@rhel04 ~]# ipa-server-install -h | grep -e "-P"
    -P MASTER_PASSWORD, --master-password=MASTER_PASSWORD
[root@rhel04 ~]# man ipa-server-install | grep -C 1 -e "-P"
DEPRECATED OPTIONS
       -P MASTER_PASSWORD, --master-password=MASTER_PASSWORD
              The kerberos master password (normally autogenerated).

Comment 4 Jan Cholasta 2015-10-01 14:21:39 UTC
The fix for this bug was accidentally undone by the fix for bug 1250928.

Comment 7 Petr Vobornik 2016-02-15 17:45:02 UTC
I can no longer reproduce with 4.3.x:

#  ipa-server-install --help | grep -e "-P"
# ipa-server-install -h | grep -e "-P"
# man ipa-server-install | grep -C 1 -e "-P"
DEPRECATED OPTIONS
       -P MASTER_PASSWORD, --master-password=MASTER_PASSWORD
              The kerberos master password (normally autogenerated).

Not sure in which commit(s) it was fixed.

Comment 8 Mike McCune 2016-03-28 22:43:24 UTC
This bug was accidentally moved from POST to MODIFIED via an error in automation, please see mmccune with any questions

Comment 10 Pavel Picka 2016-09-06 13:11:06 UTC
Verified

[root@ipa ~]# ipa-server-install --help | grep -e "-P"
[root@ipa ~]# ipa-server-install -h | grep -e "-P"
[root@ipa ~]# man ipa-server-install | grep -C 1 -e "-P"
DEPRECATED OPTIONS
       -P MASTER_PASSWORD, --master-password=MASTER_PASSWORD
              The kerberos master password (normally autogenerated).
[root@ipa ~]# rpm -q ipa-server
ipa-server-4.4.0-8.el7.x86_64

Comment 12 errata-xmlrpc 2016-11-04 05:45:23 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2016-2404.html