Click to See Complete Forum and Search --> : changing login message
i always asked myself how/where i can change the message that appears, when i successfully logged in?!
on my old debian box, this was "bla... comes with no warranty ...bla", on my slackware box this is the date and the "you got|got no new mail".
how/where can i change this (currently using slackware 7.1, kernel 2.4.0 -> YES, i did it and it works http://www.linuxnewbie.org/ubb/wink.gif)
--
-L!LO
twist
01-21-2001, 01:01 PM
/etc/issue
Paul Weaver
01-21-2001, 01:05 PM
If you telnet in you get /etc/issue.net
hmm. i wonder why i cannot edit my postings.
----- 8< -----
that's the message that appears BEFORE (!) the login is successful! i want the one AFTER (!). thanks anyways. good to know http://www.linuxnewbie.org/ubb/smile.gif
--
-L!LO
demian
01-21-2001, 01:58 PM
/etc/motd
that's it!
does this "last login..." and "no mail." message always appear?
thanks.
--
-L!LO
Ripley
01-22-2001, 12:22 AM
Originally posted by LILO:
that's it!
does this "last login..." and "no mail." message always appear?
thanks.
--
-L!LO
Only if you want them to.
/etc/login.defs
thanks alot!
that was EXACTLY what i wanted to know. http://www.linuxnewbie.org/ubb/smile.gif
--
-L!LO
hmm..
one question:
does linux set back /etc/issue and /etc/motd after each reboot??
i just made up some information to see when login (slackware 7.1, kernel: bla.. etc) and now it's the same message as usual..
hmm..
--
-L!LO
Yes, my RH box does that. I think the code is in /etc/rc.local or something? That's where I had to make the changes to make my custom /etc/issue.