From: Daniel Kahn Gillmor Date: Thu, 4 Sep 2008 23:09:24 +0000 (-0400) Subject: added m-s diagnostics test for presence of monkeysphere system user. X-Git-Tag: monkeysphere_0.15-1~25 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=5eaa6e2d578e98783d09a699c036968b9b7aa86d;p=monkeysphere.git added m-s diagnostics test for presence of monkeysphere system user. --- 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."