FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Ubuntu > Ubuntu User

 
 
LinkBack Thread Tools
 
Old 10-08-2012, 02:49 PM
goldleviathan
 
Default update-motd not updating /etc/motd after LTS upgrade

Open your /etc/ssh/sshd_config and add the line:

PrintMotd yes


Then restart ssh.



--
View this message in context: http://ubuntu.5.n6.nabble.com/update-motd-not-updating-etc-motd-after-LTS-upgrade-tp4978783p4995591.html
Sent from the ubuntu-users mailing list archive at Nabble.com.

--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 10-08-2012, 08:28 PM
Tom H
 
Default update-motd not updating /etc/motd after LTS upgrade

On Mon, Oct 8, 2012 at 10:49 AM, goldleviathan <coberloco@hotmail.com> wrote:
>
> Open your /etc/ssh/sshd_config and add the line:
>
> PrintMotd yes
>
> Then restart ssh.

You may be right byt there's no mention of ssh in the query.

To the OP:

Check that "/run/motd" exists and check its contents.

Check that "/etc/motd" is a symlink to "/run/motd".

--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 10-09-2012, 03:55 AM
Jonesy
 
Default update-motd not updating /etc/motd after LTS upgrade

On Mon, 8 Oct 2012 16:28:10 -0400, Tom H wrote:
> On Mon, Oct 8, 2012 at 10:49 AM, goldleviathan <coberloco@hotmail.com> wrote:
>>
>> Open your /etc/ssh/sshd_config and add the line:
>>
>> PrintMotd yes
>>
>> Then restart ssh.
>
> You may be right byt there's no mention of ssh in the query.
>
> To the OP:
>
> Check that "/run/motd" exists and check its contents.

ITYM "/var/run/motd" ?

> Check that "/etc/motd" is a symlink to "/run/motd".

Jonesy


--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 10-09-2012, 07:36 AM
Marius Gedminas
 
Default update-motd not updating /etc/motd after LTS upgrade

On Tue, Oct 09, 2012 at 03:55:22AM +0000, Jonesy wrote:
> On Mon, 8 Oct 2012 16:28:10 -0400, Tom H wrote:
> > On Mon, Oct 8, 2012 at 10:49 AM, goldleviathan <coberloco@hotmail.com> wrote:
> >>
> >> Open your /etc/ssh/sshd_config and add the line:
> >>
> >> PrintMotd yes

Um, no. On Ubuntu it's pam_motd that updates and prints the MOTD.

> >> Then restart ssh.
> >
> > You may be right byt there's no mention of ssh in the query.
> >
> > To the OP:
> >
> > Check that "/run/motd" exists and check its contents.
>
> ITYM "/var/run/motd" ?

/var/run is a symlink to /run (which is a tmpfs mount) in 12.04.

> > Check that "/etc/motd" is a symlink to "/run/motd".

On my system it's a system to /var/run/motd, which is also fine.

Marius Gedminas
--
Stupidity management for the superuser is a user space issue in Unix
systems.
-- Alan Cox
--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 10-09-2012, 10:18 AM
Tom H
 
Default update-motd not updating /etc/motd after LTS upgrade

On Mon, Oct 8, 2012 at 11:55 PM, Jonesy <gmane@jonz.net> wrote:
> On Mon, 8 Oct 2012 16:28:10 -0400, Tom H wrote:
>> On Mon, Oct 8, 2012 at 10:49 AM, goldleviathan <coberloco@hotmail.com> wrote:
>>>
>>> Open your /etc/ssh/sshd_config and add the line:
>>>
>>> PrintMotd yes
>>>
>>> Then restart ssh.
>>
>> You may be right byt there's no mention of ssh in the query.
>>
>> To the OP:
>>
>> Check that "/run/motd" exists and check its contents.
>>
>> Check that "/etc/motd" is a symlink to "/run/motd".
>
> ITYM "/var/run/motd" ?

On 12.04, it's "/run/motd" but there must be a symlink of a bind-mount too.

--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 10-09-2012, 10:28 AM
Tom H
 
Default update-motd not updating /etc/motd after LTS upgrade

On Tue, Oct 9, 2012 at 3:36 AM, Marius Gedminas <marius@pov.lt> wrote:
> On Tue, Oct 09, 2012 at 03:55:22AM +0000, Jonesy wrote:
>> On Mon, 8 Oct 2012 16:28:10 -0400, Tom H wrote:
>> >
>> > To the OP:
>> >
>> > Check that "/run/motd" exists and check its contents.
>>
>> ITYM "/var/run/motd" ?
>
> /var/run is a symlink to /run (which is a tmpfs mount) in 12.04.
>
>> > Check that "/etc/motd" is a symlink to "/run/motd".
>
> On my system it's a system to /var/run/motd, which is also fine.

On a clean install of 12.04, "/var/run" is a symlink to "/run".

--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 

Thread Tools




All times are GMT. The time now is 07:14 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org