vendredi 10 février 2012

Customie the telnet or SSH weccome screen :p MOTD()

This is good if you enable ssh login to your users, you can place some text once they login.

*PLEASE INSTALL AT YOUR OWN RISK!

-------------------------------------------------

1. Login to your server as root via SSH.

2. Type: pico /etc/motd

3. Now type in the message you want everyone to see. Something like this is good.

"This computer system is for authorized users only. All activity is logged and regulary checked by systems personal. Individuals using this system without authority or in excess of their authority are subject to having all their services revoked. Any illegal services run by user or attempts to take down this server or its services will be reported to local law enforcement, and said user will be punished to the full extent of the law. Anyone using this system consents to these terms."

(The above is just sample text, you may create your own or use this!)

4. Save & Exit Pico Type: CTRL-X, Y, Enter



check out for /etc/issue and /etc/issue.net

http://serverfault.com/questions/319416/how-to-customize-telnet-login-prompt-on-linux
 http://serverfault.com/questions/36421/stop-ssh-login-from-printing-motd-from-the-client

 http://www.linuxquestions.org/questions/linux-newbie-8/how-to-setup-system-login-banner-and-login-message-298266/

Aucun commentaire:

Enregistrer un commentaire

Nombre total de pages vues