"Web console" Login Welcome Message

This section provides a tutorial example on how to remove the 'Web console' Cockpit message displayed after logging in to a CentOS 8 system.

When logging in to a CentOS 8 system, you will get "Web console" message as part of the welcome message. This is because CentOS 8 has included Cockpit, the Web Console, as part of the system installation.

By default, Cockpit is installed and disabled on the system. So when logging in, you will see the "Activate the web console with ..." message. It is to remind you that Cockpit Web console is not activated yet.

herong>ssh herong@
herong@'s password: TopSecret

Activate the web console with: systemctl enable --now cockpit.socket

After you have enabled and started "cockpit" and "cockpit.socket" services, you will see the "Web console <url>..." message. It is to remind you that Cockpit Web console can be accessed with a Web browser at those URLs.

herong>ssh herong@
herong@'s password: TopSecret

Web console: https://localhost:9090/ or

Since this "Web console" welcome message is displayed for all users on your CentOS 8 system, it could cause confusions to regular users, who are not encouraged to use Cockpit.

If you want to hide this "Web console" welcome message, you can do the following to replace Cockpit MOTD (Message Of The Day) file with an empty file.

herong$ sudo ls -l /etc/motd.d
  lrwxrwxrwx. 1 root root 17  cockpit -> /run/cockpit/motd

herong]$ sudo ls -l /run/cockpit
  -rw-r--r--. 1 root root 69 active.motd
  lrwxrwxrwx. 1 root root 11 motd -> active.motd

herong$ sudo more /run/cockpit/active.motd
  Web console: https://localhost:9090/ or

herong$ sudo mv /run/cockpit/motd /run/cockpit/motd-bck

herong$ sudo touch /run/cockpit/motd

Table of Contents

 About This Book

 Introduction to Linux Systems

Cockpit - Web Portal for Administrator

 What Is Cockpit

 Install and Configure Cockpit

"Web console" Login Welcome Message

 Process Management

 Files and Directories

 Users and Groups

 File Systems

 Block Devices and Partitions

 LVM (Logical Volume Manager)

 Installing CentOS

 SELinux - Security-Enhanced Linux

 Network Connection on CentOS

 Internet Networking Tools

 SSH Protocol and ssh/scp Commands

 Software Package Manager on CentOS - DNF and YUM

 vsftpd - Very Secure FTP Daemon

 LDAP (Lightweight Directory Access Protocol)

 Administrative Tasks


 Full Version in PDF/EPUB