Systeminformationen in "SSH" motd

Christian Brabandt cblists at 256bit.org
Mit Mar 25 12:18:41 GMT 2009


Hi
> seit intrepid, erscheint ja beim login über ssh, keine kleine 
> übersicht über das system, wie die hier:
> 
> Linux natalie 2.6.27-11-generic #1 SMP Thu Jan 29 19:24:39 UTC 2009 
> i686
> welcome on     __          __   __
>   ____ _____ _/  |______  |  | |__| ____
>  /    \\__  \\   __\__  \ |  | |  |/ __ \
> |   |  \/ __ \|  |  / __ \|  |_|  \  ___/
> |___|  (____  /__| (____  /____/__|\___  >
>      \/     \/          \/             \/
> 
> 
>   System information as of Fri Mar 20 14:10:01 CET 2009
> 
>   System load:  0.75               Swap usage:  0%     Users logged 
>   in: 1
>   Usage of /:   55.6% of 70.66GB   Temperature: 27 C
>   Memory usage: 43%                Processes:   180
> 
>   Graph this data and manage this system at 
>   https://landscape.canonical.com/
> Last login: Fri Mar 20 14:19:35 2009 from 146.254.170.48
> 
> Ich hätte dies gern nicht nur beim remote ssh login, sondern auch 
> beim normalen login an der console.

Sieht nach einer Pam-Einstellung aus. Ich hab hier kein Ubuntu, daher 
vergleich mal /etc/pam.d/sshd und /etc/pam.d/login


Mit freundlichen Grüßen
Christian
-- 
hundred-and-one symptoms of being an internet addict:
159. You get excited whenever discussing your hard drive.