From 81f67fd7eb33fe3b197dd9b337d900a2271963b9 Mon Sep 17 00:00:00 2001 From: Jens Harbott Date: Tue, 29 Aug 2017 09:52:58 +0000 Subject: [PATCH] Delete the default guest user from rabbitmq Leaving the default user enabled is a security issue, as it can be used without credentials. It also may mask issues like seen in [1]. [1] https://bugs.launchpad.net/bugs/1651576 Change-Id: I75b4e5696c0f8017b869127a10f3c14e2f8bd121 --- lib/rpc_backend | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/rpc_backend b/lib/rpc_backend index 3177e88ef2..5479db3333 100644 --- a/lib/rpc_backend +++ b/lib/rpc_backend @@ -97,6 +97,8 @@ function restart_rpc_backend { break done + # NOTE(frickler): Remove the default guest user + sudo rabbitmqctl delete_user guest || true fi }