Debian: Login banner is incorrect
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Fix Released
|
Low
|
Leonardo Fagundes Luz Serrano |
Bug Description
Brief Description
When logging into an ssh session for a controller running a Debian ISO the ssh banner is incorrectly displaying the unauthorized access warning twice but also displaying "-sh: The: command not found"
Severity
Minor - but this looks unprofessional for the 1st release of Debian
Steps to Reproduce
ssh sysadmin@
Expected Behavior
Login banner should look like this:
sysadmin@
Last login: Wed Jun 8 17:18:29 2022 from 128.224.72.70
/etc/motd.
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.
=======
SYSTEM: yow-cgcs-
=======
Actual Behavior
Login banner instead looks like this:
sysadmin@
=======
SYSTEM: yow2-r740-011
=======
Linux controller-0 5.10.0-6-rt-amd64 #1 SMP PREEMPT_RT Debian 5.10.112-1.stx.15 (2022-06-05) x86_64
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.
Last login: Thu Jun 9 02:35:22 2022
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.
-sh: The: command not found
-sh: The: command not found
In particular notice:
The WARNING is displayed twice but should only be shown once
the -sh: The: command not found should not be displayed at all
Reproducibility
Reproducible
System Configuration
AIO-SX
Load info (eg: 2022-03-
June 7 build
Last Pass
Unsure, but this issue was not occurring earlier in the 22.06 release.
Timestamp/Logs
n/a
Alarms
n/a
Test Activity
Sanity
Workaround
n/a
Changed in starlingx: | |
assignee: | nobody → Leonardo Fagundes Luz Serrano (lfagunde) |
importance: | Undecided → Low |
tags: | added: stx.7.0 stx.debian |
Fix proposed to branch: master /review. opendev. org/c/starlingx /stx-puppet/ +/845616
Review: https:/