![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Motd | BOFH | Linux | 5 | 01-19-2007 06:17 AM |
| Motd | DragonLenage | UNIX for Dummies Questions & Answers | 4 | 02-20-2005 03:36 AM |
| replacing old motd with new motd | antalexi | Shell Programming and Scripting | 2 | 11-30-2004 09:42 AM |
| MOTD File? | Rex00me | UNIX for Advanced & Expert Users | 14 | 02-15-2002 10:40 AM |
| Editing motd | killerserv | Security | 3 | 01-09-2002 02:48 PM |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
/etc/motd
Hi
I do get the message of the day upon logging in to my machine(Solaris 9). I do NOT have a .hushlogin file in my home directory. Any ideas :-) |
| Forum Sponsor | ||
|
|
|
#2
|
|||
|
|||
|
Sorry, that should be:
I do NOT get the message of the day , instead of I do get the message of the day. |
|
#3
|
|||
|
|||
|
Sorry again for bothering.
I seem to have found out the solution: I do not have an /etc/issue file but that leads to another question? Is'nt /etc/motd enough to display the message of the day? Regards ;_0 |
|
#4
|
||||
|
||||
|
/etc/issue is printed before the login prompt. /etc/motd is printed after you login. How motd is printed depends on your shell. And it is only printed for true logins. Try "telnet localhost" and then login. Now do you see the motd? If not, what shell are you using?
|
|
#5
|
|||
|
|||
|
I get the motd when I telnet into the box.
However, when I ssh into the box I do not get it. Ultimately I would be closing the telnet service and would connect only through ssh. btw. I am using bash and it does not have anything suspicious. I also get the contents of the /etc/issue and NOT the ones of /etc/motd. |
|
#6
|
||||
|
||||
|
Then you need to configure your sshd to print motd if you want. Look at the docs for your sshd. There should be an option.
|
|
#7
|
|||
|
|||
|
I have tried this on a new solaris box, one without ssh.
However, I still have no luck on this one either. Only the contents of /etc/issue get displayed but not /etc/motd. Do I need to start some kind of service of some sort(just a guess)? |
|||
| Google The UNIX and Linux Forums |