From 5eaa6e2d578e98783d09a699c036968b9b7aa86d Mon Sep 17 00:00:00 2001 From: Daniel Kahn Gillmor Date: Thu, 4 Sep 2008 19:09:24 -0400 Subject: [PATCH] added m-s diagnostics test for presence of monkeysphere system user. --- src/monkeysphere-server | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/monkeysphere-server b/src/monkeysphere-server index d2cac0e..f147201 100755 --- a/src/monkeysphere-server +++ b/src/monkeysphere-server @@ -568,6 +568,10 @@ diagnostics() { warnwindow='2 months' warndate=$(date +%s -d "$warnwindow") + if ! id monkeysphere >/dev/null ; then + echo "! No monkeysphere user found! Please create a monkeysphere system user." + fi + echo "Checking host GPG key..." if (( "$keysfound" < 1 )); then echo "! No host key found." -- 2.26.2