How to remove login banner?
Bill
beau at billbeau.net
Thu Oct 21 03:02:46 UTC 2010
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!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20101020/3fa20084/attachment.html>
More information about the ubuntu-users
mailing list