diff options
-rw-r--r-- | sos/plugins/ipa.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sos/plugins/ipa.py b/sos/plugins/ipa.py index c095ed05..cc4b1b5c 100644 --- a/sos/plugins/ipa.py +++ b/sos/plugins/ipa.py @@ -75,3 +75,9 @@ class ipa(Plugin, RedHatPlugin): self.collectExtOutput("klist -ket /etc/krb5.keytab") return + + def postproc(self): + match = r"(\s*arg \"password )[^\"]*" + subst = r"\1********" + self.doRegexSub("/etc/named.conf", match, subst) + |