comparison 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
comparison
equal deleted inserted replaced
1659:d32bcb5c557d 1660:26e07f7f682a
177 177
178 /* Whether to do reverse DNS lookups. */ 178 /* Whether to do reverse DNS lookups. */
179 #define DO_HOST_LOOKUP 0 179 #define DO_HOST_LOOKUP 0
180 180
181 /* Whether to print the message of the day (MOTD). */ 181 /* Whether to print the message of the day (MOTD). */
182 #define DO_MOTD 0 182 #define DO_MOTD 1
183 #define MOTD_FILENAME "/etc/motd" 183 #define MOTD_FILENAME "/etc/motd"
184 184
185 /* Authentication Types - at least one required. 185 /* Authentication Types - at least one required.
186 RFC Draft requires pubkey auth, and recommends password */ 186 RFC Draft requires pubkey auth, and recommends password */
187 #define DROPBEAR_SVR_PASSWORD_AUTH 1 187 #define DROPBEAR_SVR_PASSWORD_AUTH 1