Skip to content

MOTD support #1966

Closed
Closed

Description

@gpotter2
  • Your Windows build number: (Type ver at a Windows Command Prompt)

Microsoft Windows [version 10.0.16176]

  • What you're doing and what's happening: (Copy&paste specific commands and their output, or include screen shots)

Please add a MOTD (message of the day) = logging in message !
There are quite a lot of ways MOTD messages are setup (/etc/motd, /etc/motd.tail, default...) but it would be so cool !

It shouldn't be too hard to do, but because of that, BashOnWindows doesn't looks as good as a normal shell would look...

Thanks for the great WSL & good luck !

Activity

  1. changed the title [-]Please add MOTD[/-] [+]MOTD support[/+] on Apr 20, 2017
  2. jackchammons commented on Apr 21, 2017

    @jackchammons
    Contributor

    This is something that we are looking into. As a work around you could invoke the MOTD via your .bashrc

  3. simonbuchan commented on Apr 23, 2017

    @simonbuchan

    I run with zsh by running login - basically configure lxss to run as root then editing the Ubuntu shortcut target to C:\Windows\System32\bash.exe ~ -c "/bin/login -p -f simon" where simon is my Ubuntu account name. With this setup, I get the default MOTD message:

    Last login: Mon Apr 24 09:55:09 STD 2017 on tty1
    Welcome to Ubuntu 16.04.2 LTS (GNU/Linux 4.4.0-43-Microsoft x86_64)
    
    0 packages can be updated.
    0 updates are security updates.
    
    
    0 ~ 0 %
    

    Note that by default Xenial installs landscape, and that spits out an error in this setup, easy enough to uninstall it though.

  4. therealkenc commented on May 24, 2018

    @therealkenc

    Let's keep it in one place, which is #352

  5. Alex6357 commented on Apr 7, 2024

    @Alex6357

    It seems that pam modules are (partly) still not functioning. MOTD is not correctly shown.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions