Wednesday, June 12, 2013

Tips and Tricks for Debian - Banner on the console

.: Banner on your console :.

When Linux finishes the boot process it reads the file /etc/issue (and /etc/ for remote logins) from where it can find the text to be printed on the login screen.

Although you can edit those files, it is way cooler to display a banner! =)
Let's get our hands dirty!

  1. apt-get install linuxlogo
  2. cp /etc/inittab /etc/inittab.bkp 
  3. sed -i s'/\/sbin\/getty 38400/\/sbin\/getty -f \/etc\/issue.linuxlogo\ 38400/'g /etc/inittab
  4. init q && killall -9 getty          # This will drop you off of the terminal.
I hope you can spread this with your friends! :)

No comments:

Post a Comment