diff options
author | Daniel Kahn Gillmor <dkg@fifthhorseman.net> | 2008-09-04 19:09:24 -0400 |
---|---|---|
committer | Daniel Kahn Gillmor <dkg@fifthhorseman.net> | 2008-09-04 19:09:24 -0400 |
commit | 5eaa6e2d578e98783d09a699c036968b9b7aa86d (patch) | |
tree | 9600750f9f26d09deaf592197128c7b700c5bf51 /src | |
parent | 051d1b0dba6e5c3efa8238e31ebd7a17b380db6d (diff) |
added m-s diagnostics test for presence of monkeysphere system user.
Diffstat (limited to 'src')
-rwxr-xr-x | src/monkeysphere-server | 4 |
1 files changed, 4 insertions, 0 deletions
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." |