diff options
author | Karl MacMillan <kmacmill@redhat.com> | 2007-11-21 18:09:24 -0500 |
---|---|---|
committer | Karl MacMillan <kmacmill@redhat.com> | 2007-11-21 18:09:24 -0500 |
commit | 67cddce4d47791ad357ed5551ab58e16dbf87e0c (patch) | |
tree | 1a7f89472020c13c01319c558dd26088bf195913 /ipa-server/ipa-install | |
parent | 7ce4df70388ebfa34eed8ac05effb72593e06cd8 (diff) | |
download | freeipa-67cddce4d47791ad357ed5551ab58e16dbf87e0c.tar.gz freeipa-67cddce4d47791ad357ed5551ab58e16dbf87e0c.tar.xz freeipa-67cddce4d47791ad357ed5551ab58e16dbf87e0c.zip |
Generate master password from Simo.
Diffstat (limited to 'ipa-server/ipa-install')
-rw-r--r-- | ipa-server/ipa-install/ipa-server-install | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/ipa-server/ipa-install/ipa-server-install b/ipa-server/ipa-install/ipa-server-install index b957e522f..a33a3e892 100644 --- a/ipa-server/ipa-install/ipa-server-install +++ b/ipa-server/ipa-install/ipa-server-install @@ -232,17 +232,6 @@ def read_dm_password(): dm_password = read_password("Directory Manager") return dm_password -def read_master_password(): - print "The Kerberos database is usually encrypted using a master password." - print "Please store this password offline in a secure place." - print "It may be necessary in a recovery situation or to install a replica." - print "Without the master password the encrypted material can't be used by the KDC." - print "If the master password is lost all kerberos related secrets will also be lost." - print "" - #TODO: provide the option of generating a random password - master_password = read_password("Kerberos master") - return master_password - def read_admin_password(): print "The IPA server requires an administrative user, named 'admin'." print "This user is a regular system account used for IPA server administration." @@ -381,7 +370,7 @@ def main(): dm_password = options.dm_password if not options.master_password: - master_password = read_master_password() + master_password = ipa_generate_password() else: master_password = options.master_password |