From 002b79e2f9d2c94908817a5c7e9ff4b843b37e0d Mon Sep 17 00:00:00 2001 From: zciendor <37557036+zciendor@users.noreply.github.com> Date: Sat, 14 Mar 2020 14:21:01 +0000 Subject: [PATCH] MOTD enabled by default as the manpage says (#87) The man page (https://github.com/mkj/dropbear/blob/master/dropbear.8) says MOTD will be printed by default for any login shell, but it was disabled at compile time. Probably happened by accident when this code was moved from `options.h` to `default_options.h`. --- default_options.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/default_options.h b/default_options.h index 5b232dd..bafbb07 100644 --- a/default_options.h +++ b/default_options.h @@ -179,7 +179,7 @@ group1 in Dropbear server too */ #define DO_HOST_LOOKUP 0 /* Whether to print the message of the day (MOTD). */ -#define DO_MOTD 0 +#define DO_MOTD 1 #define MOTD_FILENAME "/etc/motd" /* Authentication Types - at least one required.