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

Bug #1849124 reported by Chris Winnicki
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
StarlingX
Won't Fix
Low
zhao.shuai

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

Revision history for this message
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)
tags: added: stx.retestneeded
Austin Sun (sunausti)
Changed in starlingx:
assignee: nobody → zhao.shuai (zhao.shuai.neusoft)
Revision history for this message
chendongqi (chen-dq) wrote :

We have used the following versions of ISO for deployment testing:
    -> 20200529T033909Z
    -> 20200628T013415Z
/etc/motd.d/10-system is not displayed at ssh login
So recommend closing this ticket.

Revision history for this message
Chris Winnicki (chriswinnicki) wrote :

Tested in: 2020-07-07_00-00-00
The issue is resolved, removing tag: stx.retestneeded

tags: removed: stx.retestneeded
Revision history for this message
Ramaswamy Subramanian (rsubrama) wrote :

No progress on this bug for more than 2 years. Candidate for closure.

If there is no update, this issue is targeted to be closed as 'Won't Fix' in 2 weeks.

Revision history for this message
Ramaswamy Subramanian (rsubrama) wrote :

Changing the status to 'Won't Fix' as there is no activity.

Changed in starlingx:
status: Triaged → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.