Richard Shaw wrote:
On Mon, Jul 2, 2018 at 10:20 AM Todd Zullinger <tmz(a)pobox.com>
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)