Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 01-31-2003, 11:52 AM   #1
LQ Newbie
Registered: Nov 2002
Distribution: linux mandrake 7.2
Posts: 19

Rep: Reputation: 0
login message

ok does any one know how i can get it so that when users login they see a login message that i wrote? i found that if i go to like userconfig or something i can get to a tab that looks like i might be able to fill in my Owen message but it wont let me write in the box can someone help me
Old 01-31-2003, 12:54 PM   #2
Registered: Nov 2002
Location: Chicago, IL
Distribution: Rasbian, Debian, Gentoo, RHEL
Posts: 63

Rep: Reputation: 15
/etc/issue contains what you see on the console when you log in and /etc/motd is where you can put a "message of the day" for people to see when they log in.
Old 01-31-2003, 01:37 PM   #3
Registered: Jan 2003
Location: I'm all in your mind!
Distribution: Debian
Posts: 248

Rep: Reputation: 30
You can modify /etc/issue and /etc/motd as rockdw suggested, but if when you start you don't see the desired message, check your /etc/rc.d/rc.local

Some distro's put some code in here that will overwrite your /etc/issue every time you boot.

Mine looks like this:

   # This will overwrite /etc/issue at every boot.  So, make any changes you
    # want to make to /etc/issue here or you will lose them when you reboot.

    if [ -x /usr/bin/linux_logo ];then
	/usr/bin/linux_logo -c -n -f | sed -e 's|\\|\\\\|g' > /etc/issue
	echo "" >> /etc/issue
	> /etc/issue
    echo "$R" >> /etc/issue
    echo "Kernel $(uname -r) on $a $SMP$(uname -m) / \l" >> /etc/issue
It's easier to comment out all this part (add # in front of every line) and your file won't be overwritten!
Old 01-31-2003, 02:47 PM   #4
Senior Member
Registered: Jan 2002
Location: Rome, Italy ; Novi Sad, Srbija; Brisbane, Australia
Distribution: Ubuntu / ITOS2008
Posts: 1,207

Rep: Reputation: 46
And modify /etc/ for network logins. I'am guessing most of the users will be logged via ssh or telnet, and they will get /etc/ and /etc/motd as messages.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to setup system Login banner and Login message 06-03-05 Linux - Newbie 10 03-11-2015 07:20 PM
Login greeting message(s) vietsoft Linux - General 1 08-13-2003 10:11 PM
Message that pops up when u login vapor Programming 11 07-13-2003 07:58 PM
Login message lost... yuzuohong Linux - General 7 07-03-2003 01:16 PM
login message killi Linux - General 3 06-27-2003 12:47 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:33 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration