I'm Floris And that's all there is to it really
23 Oct '10
Here's a quick tutorial for sysadmins who want to customize their welcome banner in Ubuntu.
Connect to your box:
sudo up to a super user
and change to the /etc directory
use vi, pico or nano to edit the following to files: motd.tail and motd
Change the banner to whatever you want.
Save the documents, and this should now be live.
Exit out of the current account and log out of the session
Test it by ssh-ing back into the box.
The .tail edit is required to it doesn't reset after reboot as the .tail overwrites the motd file.
Have fun, be creative!
(click the image for a larger version)
Changing motd on Ubuntu
Here's a quick tutorial for sysadmins who want to customize their welcome banner in Ubuntu.
Connect to your box:
ssh -l login host -p port
sudo up to a super user
sudo su -
and change to the /etc directory
cd /etc
use vi, pico or nano to edit the following to files: motd.tail and motd
nano -w motd.tail
Change the banner to whatever you want.
Save the documents, and this should now be live.
Exit out of the current account and log out of the session
exit
Test it by ssh-ing back into the box.
The .tail edit is required to it doesn't reset after reboot as the .tail overwrites the motd file.
Have fun, be creative!
(click the image for a larger version)
Latest Articles
- 2012
- Losing interest in interesting stories sometimes
- Cat candy for Sasha
- Feel Good Inc.
- Sometimes the Big Stuff Matters
- Cloud Storage
- CLI Basic Linux Commands
- CLI SSH
- Sasha 5 Years
- User Interface Design Heuristics
- Interview with Matthew from Cheers app
- iOS Clear App Tips & Tricks
- Web Application Coding Standards
- My First HTML5 Page
- The Basics of a Web Site
- CSS3 Opinion: <link> tag or @import?
- [.htaccess] Force removing www and index.php
- [php] Making a css.php
- [HTML5] Center Content
- From iOS App to the Web Site