Mercurial > dropbear
diff default_options.h @ 1660:26e07f7f682a
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`.
author | zciendor <37557036+zciendor@users.noreply.github.com> |
---|---|
date | Sat, 14 Mar 2020 14:21:01 +0000 |
parents | d32bcb5c557d |
children | 3a97f14c0235 |
line wrap: on
line diff
--- a/default_options.h Wed Mar 11 21:09:45 2020 +0500 +++ b/default_options.h Sat Mar 14 14:21:01 2020 +0000 @@ -179,7 +179,7 @@ #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.