Bug 39375

Summary: UCR sshd/banner doesn't apply (UCS 3.2)
Product: UCS Reporter: Daniel Orrego <orrego>
Component: SSHAssignee: UCS maintainers <ucs-maintainers>
Status: RESOLVED WORKSFORME QA Contact:
Severity: minor    
Priority: P5 CC: best, gohmann, hahn, walkenhorst
Version: UCS 3.2   
Target Milestone: UCS 4.0-x   
Hardware: Other   
OS: Linux   
What kind of report is it?: --- What type of bug is this?: ---
Who will be affected by this bug?: --- How will those affected feel about the bug?: ---
User Pain: Enterprise Customer affected?:
School Customer affected?: ISV affected?:
Waiting Support: Flags outvoted (downgraded) after PO Review:
Ticket number: Bug group (optional):
Max CVSS v3 score:
Bug Depends on: 39166    
Bug Blocks:    

Description Daniel Orrego univentionstaff 2015-09-21 16:48:48 CEST
+++ This bug was initially created as a clone of Bug #39166 +++

Currently (UCS 3.2-6), displaying a banner in a ssh login can't be configured using UCR variable sshd/banner.

When setting the variable, the following traceback appears:

~# ucr set sshd/banner='/etc/issue.net'
Setting sshd/banner
File: /etc/ssh/sshd_config
Traceback (most recent call last):
  File "<stdin>", line 12, in <module>
TypeError: object of type 'bool' has no len()
Comment 1 Daniel Orrego univentionstaff 2015-09-21 16:52:28 CEST
I still see this problem in UCS 3.2 (o.0)
Comment 2 Florian Best univentionstaff 2017-02-09 17:36:35 CET
root@xen3:~# ucr set sshd/banner='/etc/issue.net'
Create sshd/banner
File: /etc/ssh/sshd_config