summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ipa-admintools/ipa-change-master-key1
-rw-r--r--ipa-server/ipa-fix-CVE-2008-32741
2 files changed, 2 insertions, 0 deletions
diff --git a/ipa-admintools/ipa-change-master-key b/ipa-admintools/ipa-change-master-key
index 9ab5a96e..a4e94399 100644
--- a/ipa-admintools/ipa-change-master-key
+++ b/ipa-admintools/ipa-change-master-key
@@ -156,6 +156,7 @@ def main():
if os.getuid() != 0:
print "ERROR: This command must be run as root"
+ sys.exit(1)
print "DANGER: This is a dangerous operation, make sure you backup all your IPA data before running the tool"
print "This command will restart your Directory and KDC Servers."
diff --git a/ipa-server/ipa-fix-CVE-2008-3274 b/ipa-server/ipa-fix-CVE-2008-3274
index 3d8324e0..41d3abc9 100644
--- a/ipa-server/ipa-fix-CVE-2008-3274
+++ b/ipa-server/ipa-fix-CVE-2008-3274
@@ -170,6 +170,7 @@ def change_mkey(password = None, quiet = False):
if os.getuid() != 0:
print "ERROR: This command must be run as root"
+ sys.exit(1)
print "DANGER: This is a dangerous operation, make sure you backup all your IPA data before running the tool"
print "This command will restart your Directory and KDC Servers."