diff --git a/src/bozo/bosserver.c b/src/bozo/bosserver.c index ea75030383..371cb638e4 100644 --- a/src/bozo/bosserver.c +++ b/src/bozo/bosserver.c @@ -1159,6 +1159,15 @@ main(int argc, char **argv, char **envp) exit(code); } + if (bozo_isrestricted) { + bozo_Log("NOTICE: bosserver is running in restricted mode.\n"); + } else { + bozo_Log("WARNING: bosserver is not running in restricted mode.\n"); + bozo_Log("WARNING: Superusers have unrestricted access to this host via bos.\n"); + bozo_Log("WARNING: Use 'bos setrestricted' or restart with the -restricted option\n"); + bozo_Log("WARNING: to enable restricted mode.\n"); + } + if (rxBind) { host = GetRxBindAddress(); }