M
M
Mikhail Shatilov2019-03-13 06:48:50
ubuntu
Mikhail Shatilov, 2019-03-13 06:48:50

How to customize the welcome screen in Ubuntu Server 18?

Login screenshot:

Authenticating with public key "imported-openssh-key"
Welcome to Ubuntu 18.04.2 LTS (GNU/Linux 4.15.0-45-generic x86_64)

 * Documentation:  https://help.ubuntu.com
 * Management:     https://landscape.canonical.com
 * Support:        https://ubuntu.com/advantage

  System information as of Wed Mar 13 03:07:04 UTC 2019

  System load:  0.45                Processes:           161
  Usage of /:   12.0% of 227.73GB   Users logged in:     1
  Memory usage: 26%                 IP address for eno1: 192.168.0.2
  Swap usage:   0%

 * Ubuntu's Kubernetes 1.14 distributions can bypass Docker and use containerd
   directly, see https://bit.ly/ubuntu-containerd or try it now with

     snap install microk8s --channel=1.14/beta --classic

 * Canonical Livepatch is available for installation.
   - Reduce system reboots and improve kernel security. Activate at:
     https://ubuntu.com/livepatch

3 packages can be updated.
0 updates are security updates.

Failed to connect to https://changelogs.ubuntu.com/meta-release-lts. Check your Internet connection or proxy settings

Specifically, I'd like to remove blocks:
* Documentation:  https://help.ubuntu.com
 * Management:     https://landscape.canonical.com
 * Support:        https://ubuntu.com/advantage

* Ubuntu's Kubernetes 1.14 distributions can bypass Docker and use containerd
   directly, see https://bit.ly/ubuntu-containerd or try it now with

     snap install microk8s --channel=1.14/beta --classic

 * Canonical Livepatch is available for installation.
   - Reduce system reboots and improve kernel security. Activate at:
     https://ubuntu.com/livepatch

I found that you can do customization in /etc/issue, but there is 1 line. setting somewhere else.
There are many tips on how to do it through the gui, but there is none on the server.
How to change the text?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
H
hint000, 2019-03-13
@iproger

/etc/update-motd.d/
scripts generate separate pieces of this text
, in particular, /etc/update-motd.d/50-motd-news downloads this piece from https://motd.ubuntu.com

* Ubuntu's Kubernetes 1.14 distributions can bypass Docker and use containerd
directly, see https://bit.ly/ubuntu-containerd or try it now with
snap install microk8s --channel=1.14/beta --classic
, and if there is no Internet, then it takes it from the cache /var/cache/motd-news
PS motd = Message Of The Day, it has been customary since those ancient times, when the typical scenario was the work of users in the shell, and the admin composed motd for users :)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question