diff options
-rw-r--r-- | sos/plugins/anaconda.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sos/plugins/anaconda.py b/sos/plugins/anaconda.py index 11684ed1..cf1907ac 100644 --- a/sos/plugins/anaconda.py +++ b/sos/plugins/anaconda.py @@ -53,8 +53,8 @@ class Anaconda(Plugin, RedHatPlugin): ) self.do_file_sub( "/root/anaconda-ks.cfg", - r"(useradd --password) (.*)", - r"\1 ********" + r"(user.*--password=*)(\S*)", + r"\1********" ) # vim: et ts=4 sw=4 |