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-admintools | |
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-admintools')
-rw-r--r-- | ipa-admintools/ipa-change-master-key | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ipa-admintools/ipa-change-master-key b/ipa-admintools/ipa-change-master-key index 9ab5a96e8..a4e943992 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." |