Tech Journal Back to Tech Journal

How do I change the logon message in linux?

The logon message (the message you see over the "login" before you log in) is set by two files: /etc/issue for regular logons, and /etc/ for network logons. To change them, using the following commands:

        echo "" >> /etc/issue
        echo "You're on WKFM (\\l).11, caller. Talk to me!" >> /etc/issue
        cp -f /etc/issue /etc/
        echo >> /etc/issue

The term \l is for the terminal name (tty1, tty2, etc)

Last updated on 2007-05-07 09:24:08 -0700, by Shalom Craimer

Back to Tech Journal