Skip to content
This repository was archived by the owner on Dec 26, 2020. It is now read-only.

MOTD Enabled prints MOTD twice on Ubuntu #319

Closed
jribar opened this issue Jul 28, 2020 · 1 comment
Closed

MOTD Enabled prints MOTD twice on Ubuntu #319

jribar opened this issue Jul 28, 2020 · 1 comment
Labels

Comments

@jribar
Copy link

jribar commented Jul 28, 2020

Is your feature request related to a problem? Please describe.
Upgraded from an older release to 9.6.0 which now disables MOTD by default. It does this by disabling the dynamic MOTD and setting PrintMotd to no.

When MOTD is enabled with ssh_print_motd, PrintMotd is set to yes and the dynamic MOTD is left enabled. This results in the contents of /etc/motd appearing twice upon login.

Prior to the upgrade, and by default, MOTD was displayed via PAM and not through OpenSSH.

There is no option to avoid this behavior as ssh_print_motd disables/enables both the dynamic Ubuntu MOTD and the MOTD disabled through OpenSSH.

Describe the solution you'd like
Separate variables to control both the display of MOTD through OpenSSH and the disabling of the dynamic MOTD.

Describe alternatives you've considered
Downgrading to < 9.0.0.

Additional context

@rndmh3ro rndmh3ro added the bug label Aug 3, 2020
@rndmh3ro
Copy link
Member

rndmh3ro commented Aug 3, 2020

Hey @jribar, thanks for bringing this bug up. We need to fix that.
Are you up for a PR?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants