ssh motd message reports at login: /etc/motd.d/10-system

Bug #1849124 reported by Chris Winnicki on 2019-10-21
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
StarlingX
Low
Unassigned

Bug Description

Brief Description
-----------------
ssh motd message reports at login: /etc/motd.d/10-system

The following string should not be part of motd:

Example:

cwinnick@yow-cwinnick-lx1:~$ ssh-yow-dell-r720-3fip.sh
Warning: Permanently added '128.224.150.142' (ECDSA) to the list of known hosts.

------------------------------------------------------------------------
W A R N I N G *** W A R N I N G *** W A R N I N G *** W A R N I N G ***
------------------------------------------------------------------------
THIS IS A PRIVATE COMPUTER SYSTEM.
This computer system including all related equipment, network devices
(specifically including Internet access), are provided only for authorized use.
All computer systems may be monitored for all lawful purposes, including to
ensure that their use is authorized, for management of the system, to
facilitate protection against unauthorized access, and to verify security
procedures, survivability and operational security. Monitoring includes active
attacks by authorized personnel and their entities to test or verify the
security of the system. During monitoring, information may be examined,
recorded, copied and used for authorized purposes. All information including
personal information, placed on or sent over this system may be monitored. Uses
of this system, authorized or unauthorized, constitutes consent to monitoring
of this system. Unauthorized use may subject you to criminal prosecution.
Evidence of any such unauthorized use collected during monitoring may be used
for administrative, criminal or other adverse action. Use of this system
constitutes consent to monitoring for these purposes.

X11 forwarding request failed on channel 0
Last login: Mon Oct 21 13:42:06 2019 from 128.224.140.200
/etc/motd.d/00-header:

WARNING: Unauthorized access to this system is forbidden and will be
prosecuted by law. By accessing this system, you agree that your
actions may be monitored if unauthorized usage is suspected.

/etc/motd.d/10-system:

====================================================================
         SYSTEM: yow-cgcs-r720-3_7
====================================================================

controller-0:~$

Severity
--------
Minor

Steps to Reproduce
------------------
ssh to any active controller

Expected Behavior
------------------
The following string should not be seen as part of the (motd): message of the day ssh login

/etc/motd.d/10-system

Actual Behavior
----------------
/etc/motd.d/10-system is displayed at ssh login

Reproducibility
---------------
100%

System Configuration
--------------------
Seen on every configuration

Branch/Pull Time/Commit
-----------------------
2019-10-18_20-00-00

Last Pass
---------
not known

Timestamp/Logs
--------------
Not required

Test Activity
-------------
Regression Testing, Installation and commissioning

Ghada Khalil (gkhalil) wrote :

Marking as low priority given there is no system impact.

Changed in starlingx:
importance: Undecided → Low
status: New → Triaged
tags: added: stx.distro.other
Yang Liu (yliu12) on 2019-10-25
tags: added: stx.retestneeded
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers