summaryrefslogtreecommitdiffstats
path: root/ipa-server
diff options
context:
space:
mode:
authorMartin Nagy <mnagy@redhat.com>2008-09-24 19:38:23 +0200
committerSimo Sorce <ssorce@redhat.com>2008-10-08 10:49:18 -0400
commitc59e73e2c1a5ec12fda190dce0dafe5dfe9fef99 (patch)
tree36556a32d736c7f621d46adcbcca3e757412c3ac /ipa-server
parenta49fa9e1f24daa3390d0813193a6cce42f8c0835 (diff)
downloadfreeipa-c59e73e2c1a5ec12fda190dce0dafe5dfe9fef99.tar.gz
freeipa-c59e73e2c1a5ec12fda190dce0dafe5dfe9fef99.tar.xz
freeipa-c59e73e2c1a5ec12fda190dce0dafe5dfe9fef99.zip
ipa-change-master-key: Really exit when not run as root Also fix this for ipa-fix-CVE-2008-3274
Diffstat (limited to 'ipa-server')
-rw-r--r--ipa-server/ipa-fix-CVE-2008-32741
1 files changed, 1 insertions, 0 deletions
diff --git a/ipa-server/ipa-fix-CVE-2008-3274 b/ipa-server/ipa-fix-CVE-2008-3274
index 3d8324e00..41d3abc96 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."