How to remove login banner?

Tom H tomh0665 at gmail.com
Thu Oct 21 03:19:27 UTC 2010


On Wed, Oct 20, 2010 at 11:02 PM, Bill <beau at billbeau.net> wrote:
> On 10/20/2010 5:24 PM, Tom H wrote:
> On Wed, Oct 20, 2010 at 7:55 PM, Bill <beau at billbeau.net> wrote:
>  On 10/20/2010 3:29 PM, Peng Yu wrote:
>
> I always see the following banner when I log in to a linux machine. I
> find the following webpage. I'm wondering what is the best way to
> remove the banner.
>
> http://www.howtogeek.com/howto/ubuntu/change-ssh-welcome-banner-on-ubuntu/
>
> Linux xxx 2.6.24-27-xen #1 SMP Mon Feb 22 20:10:13 UTC 2010 x86_64
>
> The programs included with the Ubuntu system are free software;
> the exact distribution terms for each program are described in the
> individual files in /usr/share/doc/*/copyright.
>
> Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by
> applicable law.
>
> To access official Ubuntu documentation, please visit:
> http://help.ubuntu.com/
>
>
> Just follow the directions you see on that page. I use VI to edit files.
>
> The "/etc/motd" advice is old.
>
> That may be but it still works and is easy to do.
>
> just do the following
>
> sudo vi /etc/motd
>
> enter your password.
>
> type dd to remove each line of text you want deleted.
>
> to save and close your file type :wq
>
> Make sure you include the colon.
>
> Pretty darn easy!

Until the next reboot because "/etc/motd" is a symlink to
"/var/run/motd" and /var/run/motd" is created at boot.




More information about the ubuntu-users mailing list