[PATCH] Don't print motd if .hushlogin exists

Denys Vlasenko vda.linux at googlemail.com
Mon Aug 24 20:17:37 UTC 2015


Applied with small changes, thanks!

On Mon, Aug 24, 2015 at 8:50 PM, Sören Tempel <soeren at soeren-tempel.net> wrote:
> Hi,
>
> I don't know if you are interested at all in this, but I wrote a little
> patch which modifies login(1) to ensure that the message of the day
> isn't printed if a file called '.hushlogin' exists in the users home
> directory.
>
> This is the default behaviour of many login implementations including
> OpenBSDs, FreeBSDs, and pkg-shadows implementation. As I said I don't
> know if you are interested in it but I personally find it somewhat
> useful.
>
> I am also not particularly good at C but the patch works for me.
>
> Sören.
>
> _______________________________________________
> busybox mailing list
> busybox at busybox.net
> http://lists.busybox.net/mailman/listinfo/busybox


More information about the busybox mailing list