From 9dc6b75f76062315c58196c51ffe9d1319988520 Mon Sep 17 00:00:00 2001 From: Yuan-Chen Cheng Date: Fri, 14 Dec 2018 14:27:56 +0800 Subject: [apt] add /etc/apt/auth.conf to forbidden path Resolves: #1523 Signed-off-by: Yuan-Chen Cheng Signed-off-by: Bryn M. Reeves --- sos/plugins/apt.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sos/plugins/apt.py b/sos/plugins/apt.py index 27121a7a..61028898 100644 --- a/sos/plugins/apt.py +++ b/sos/plugins/apt.py @@ -23,6 +23,8 @@ class Apt(Plugin, DebianPlugin, UbuntuPlugin): "/etc/apt", "/var/log/apt" ]) + self.add_forbidden_path("/etc/apt/auth.conf") + self.add_cmd_output([ "apt-get check", "apt-config dump", -- cgit