Difference between revisions of "Motd"

From SME Server
Jump to navigationJump to search
(Created page with "{{Languages}} ===Maintainer=== John Crisp Stéphane de Labrusse AKA Reetp<br /> === Version === {{ #smeversion: smeserver-motd }} === Description === sm...")
 
 
(2 intermediate revisions by 2 users not shown)
Line 3: Line 3:
  
 
===Maintainer===
 
===Maintainer===
John Crisp
+
John Crisp AKA [[User:reetp|Reetp]]<br />
Stéphane de Labrusse AKA [[User:reetp|Reetp]]<br />
 
 
 
  
 
=== Version ===
 
=== Version ===
Line 25: Line 23:
 
*install the rpm - currently in smedev until tested and moved to contribs repo
 
*install the rpm - currently in smedev until tested and moved to contribs repo
  
  yum --enablerepo=smedev install smeserver-motd
+
  yum --enablerepo=smecontribs install smeserver-motd
 
  signal-event post-upgrade
 
  signal-event post-upgrade
  
Line 33: Line 31:
 
To enable the login use:
 
To enable the login use:
  
  config setprop motd configuration status enabled message Blue info Green
+
  config setprop motd status enabled message Blue info Green
  
 
To disable the standard MOTD:
 
To disable the standard MOTD:
Line 47: Line 45:
 
  White, Blue, Green, LightGreen, Black, Red, LightRed, DarkGray, LightGray, Cyan, LightCyan, Purple, LightPurple
 
  White, Blue, Green, LightGreen, Black, Red, LightRed, DarkGray, LightGray, Cyan, LightCyan, Purple, LightPurple
 
  Std (reverts to normal)
 
  Std (reverts to normal)
 
  
 
=== Uninstall ===
 
=== Uninstall ===

Latest revision as of 00:08, 24 September 2016



Maintainer

John Crisp AKA Reetp

Version

Contrib 10:
Contrib 9:
smeserver-motd
The latest version of smeserver-motd is available in the SME repository, click on the version number(s) for more information.



Description

smeserver-motd - A small contribution to give a more informative display on ssh login


Requirements

  • SME Server 8.X, 9.X


Installation

  • install the rpm - currently in smedev until tested and moved to contribs repo
yum --enablerepo=smecontribs install smeserver-motd
signal-event post-upgrade


Usage

To enable the login use:

config setprop motd status enabled message Blue info Green

To disable the standard MOTD:

config setprop sshd MotdStatus disabled

To update:

signal-event remoteaccess-update

Colours available (only affect text, not background). Note they are Case Sensitive. If a colour name is not recognised it should revert to Std

White, Blue, Green, LightGreen, Black, Red, LightRed, DarkGray, LightGray, Cyan, LightCyan, Purple, LightPurple
Std (reverts to normal)

Uninstall

If you want to remove the contrib, just run:

yum remove smeserver-motd


Bugs

Please raise bugs under the SME-Contribs section in bugzilla and select the smeserver-motd component or use this link

"No open bugs found."