On Thu, Jul 8, 2010 at 9:29 AM, Kevin O'Gorman <kogor...@gmail.com> wrote:

> I have created/edited /etc/motd and /etc/issue.  At first they did nothing
> at all, but I found /etc/login.defs and followed the hint there.
> So now it has the line
> MOTD_FILE           /etc/motd
> for instance.  But instead of displaying the file on running login as root,
> I get
> configuration error - unknown item 'MOTD_FILE' (notify administrator), and
> something
> similar if I attempt to use /etc/issue.
>
> Looking at /bin/login with strings(1), I find a format string that would
> produce this output.
>
> Does anyone know how to correctly enable the message of the day and the
> greeting?
>
> Mmmm.  I should add that despite these complaints, login is still possible,
and what's
especially surprising is that the messages are actually displayed.  This
suggests that
I'm not very far from having it right, but /bin/login wants to complain
anyway.


-- 
Kevin O'Gorman, PhD

Reply via email to