diff options
author | Martin Nagy <mnagy@redhat.com> | 2008-09-24 19:38:23 +0200 |
---|---|---|
committer | Simo Sorce <ssorce@redhat.com> | 2008-10-08 10:49:18 -0400 |
commit | c59e73e2c1a5ec12fda190dce0dafe5dfe9fef99 (patch) | |
tree | 36556a32d736c7f621d46adcbcca3e757412c3ac /ipa-server | |
parent | a49fa9e1f24daa3390d0813193a6cce42f8c0835 (diff) | |
download | freeipa-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-3274 | 1 |
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." |