Project

General

Profile

Funcionalidade #11948

[VM] Melhorias à mensagem MOTD

Added by Guilherme Cardoso over 4 years ago. Updated over 4 years ago.

Status:
Novo
Priority:
Normal
Category:
VM
Start date:
03/15/2017
Due date:
% Done:

0%


Description

Fazer melhorias ao MOTD quando um utilizador faz login de forma a fornecer resumo rápido ao estado do sistema.
Qualquer coisa parecida com o exemplo do mewbies

Por exemplo:

$ ssh gjc@glua.ua.pt
GLUA - Grupo de Linux da Universidade de Aveiro

CentOS Linux release 7.3.1611 (Core) 
Last Login..: 15 fev 2017 from ip 82.65.25.2.pt.vodafone.pt
Uptime......: 0 days 4 hours 9 minutes
Load........: 0.59 (1 minute) 0.43 (5 minutes) 0.45 (15 minutes)
Memory MB...: [####################%%%%%%.........] 76% (12171/15958)
Disk Usage..: 14G of 21G (69%). You're using 523M in /home/gjc
Processes...: 305 total running of which 92 are yours

Updates.....: 3 package updates and 13 security updates pending
etckeeper...: pending commits in /etc

SSH Logins....: There are currently load users logged in.

Last logins:
Username         Port     From             Latest
root             pts/5                     ter mar 14 16:34:41 +0000 2017
gjc                                        qua fev 15 15:48:07 +0000 2017

[gjc@glua ~]$

motd.tcl (3.41 KB) Guilherme Cardoso, 03/21/2017 01:33 PM

History

#1 Updated by Guilherme Cardoso over 4 years ago

Versão preliminar do script de motd.

#2 Updated by Guilherme Cardoso over 4 years ago

  • Assignee set to José Miguel Ramos Moreira

Also available in: Atom PDF