Re: Strange message on ssh login

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Richard Shaw wrote:
> On Mon, Jul 2, 2018 at 10:20 AM Todd Zullinger <tmz@xxxxxxxxx> wrote:
> 
>> Richard Shaw wrote:
>>> I've never seen additional output before but when I remoted in to my F28
>>> desktop I got the following:
>>>
>>> Using username "<user>".
>>> <user>@<host>'s password:
>>> Activate the web console with: systemctl enable --now cockpit.socket
>>>
>>> Last login: Sun Jul  1 09:26:49 2018
>>>
>>> What's up with that?
>>
>> The cockpit-ws package installs /etc/issue.d/cockpit with
>> the "Activate the web console ..." content.
>>
> 
> Ok, I removed that symbolic link to the cockpit motd but I still see the
> message even after restarting the ssh service...

Hmm.  The issue.d support is new in util-linux and I'm not
sure what is required to cause it to be reloaded.  I imagine
there's some systemd unit or whatever, but I didn't find it
while poking the documentation.  Removing the symlink and
rebooting the VM caused the message to be removed.

On the server flavored install, there's an additional "Admin
Console:" entry which comes from /etc/issue (a symlink to
/usr/lib/os.release.d/issue-server, via /usr/lib/issue).

Removing /etc/issue removes that as well.  It looks like
there might be further messages displayed via /etc/motd.d
too (whether currently or planned for a cockpit update).

Here's a bug report about dropping the message from
/etc/issue which has some links to other related tickets:

    https://bugzilla.redhat.com/show_bug.cgi?id=1591389

That might be a decent starting point if you're looking to
file a bug asking that no messages be shown by default.

At the least, the documentation involving this could use
some work.  There seems to be a good bit of hidden magic
involved at the moment.  The fedora-release package is what
installs /etc/issue and its scriptlets handle the symlinks
to the various os flavors, in case it helps you with further
digging.

-- 
Todd
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Until you have the courage to lose sight of the shore, you will not
know the terror of being forever lost at sea.
    -- Demotivators (www.despair.com)

Attachment: signature.asc
Description: PGP signature

_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx/message/W2NGHRSLOFB3H4D7SQKZIXP7WFF24EDU/
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux