CentOS 8 disable Activate the web console message

When login to CentOS 8 using SSH, you get a message asking you to enable web console.

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

centos 8 cockpit

You can uninstall cockpit with command

yum remove cockpit*

If you just need to disable the message, delete the file

rm -f /etc/motd.d/cockpit

This is actually a symlink to file /run/cockpit/motd

See CentOS 8

Comments

2 responses to “CentOS 8 disable Activate the web console message”

  1. kymo Avatar
    kymo

    It doesn’t work. can be removed by “yum remove cockpit-ws”

  2. Gage Avatar
    Gage

    The cockpit entries are under /etc/motd.d/cockpit and /etc/issue.d/cockpit.issue

    motd shows after users login
    issue shows before users login

    Removing both worked for me

Leave a Reply

Your email address will not be published. Required fields are marked *