Bug 1033229 - [RFE] Add configuration entry to change the rhc ssh message
Summary: [RFE] Add configuration entry to change the rhc ssh message
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: OKD
Classification: Red Hat
Component: Containers
Version: 2.x
Hardware: All
OS: Linux
unspecified
medium
Target Milestone: ---
: ---
Assignee: Jakub Hadvig
QA Contact: libra bugs
URL:
Whiteboard:
Depends On: 1033228
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-11-21 18:19 UTC by Timothy Williams
Modified: 2015-05-14 23:13 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of: 1033228
Environment:
Last Closed: 2013-11-22 13:45:45 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Timothy Williams 2013-11-21 18:19:55 UTC
+++ This bug was initially created as a clone of Bug #1033228 +++

Description of problem:
Currently, the only way to change the message shown when a user ssh's to a gear is to change the block in /usr/bin/rhcsh. However, when updates occur, any changes made to this file are overwritten.

The request is to add a configuration file for the ssh message that will be marked as a configuration file in the rpm spec. This way, it will not be overwritten

Version-Release number of selected component (if applicable):
2.0

How reproducible:
Always

Steps to Reproduce:
1. Change the message in /usr/bin/rhcsh
2. Update

Actual results:
The message is back to the default

Expected results:
The message remains as changed.

Comment 1 Jakub Hadvig 2013-11-22 13:44:55 UTC
Have tested it, and its not a bug. When I was looking at the /usr/bin/rhcsh I found out that the message can be edited at the /etc/openshift/node.conf, on the node, where you can add the MOTD_FILE from which the MOTD should be taken.

https://github.com/openshift/origin-server/blob/master/node/conf/node.conf#L48

Will create an trello card to create a man page on the node.conf so there wont be any further misunderstandings.

Comment 2 Jakub Hadvig 2013-11-22 13:45:45 UTC
Closing this one because its not a bug.


Note You need to log in before you can comment on or make changes to this bug.