|
google site
|
|||||||
| Forums | Register | Blog | Man Pages | Forum Rules | Links | Albums | FAQ | Users | Calendar | Search | Today's Posts | Mark Forums Read |
| Security Discuss UNIX and Linux computer and network security, cybersecurity, cyberattacks, IT security, CISSP, OWASP and more. |
![]() |
|
|
Search this Thread |
|
#1
|
||||
|
||||
|
Hie.
Im having a problem editing the motd ( message of the day ). I tried to edit the file /etc/motd but its end up with nothing. I find out the directory /etc/motd is in rw- r - r i changed it to executable rwxw-rw-r but having same thing no changes in the motd. Anyone having any idea how to inform my others that Login on the days motd ( security messages ). Pls advise. Rgds KillerServ |
| Sponsored Links | ||
|
|
|
#2
|
|||
|
|||
|
The permissions on the file were correct before you changed them (if you are running Solaris).
As far as getting nothing into the file, check the ownership. Make sure you are root when you edit the file. If you can't seem to edit the file, then you can always copy contents of one file to it (cp ./mynew.motd /etc/motd ) as root. Insure you check that the permissions are correct afterwards. |
|
#3
|
||||
|
||||
|
thehghunter,
thanx for the reply, anyway i am the root on that machine. Its running Linux 7.2 ( 2.4.7 ). I did change the permission for thefile /etc/motd to read write (755). But even after editing the files i unable to see any progress in it. Now there is seems no change after i edit it.. Any idea... or suggestion perhaps.. |
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Motd | BOFH | Linux | 5 | 01-19-2007 08:17 AM |
| Motd | DragonLenage | UNIX for Dummies Questions & Answers | 4 | 02-20-2005 05:36 AM |
| /etc/motd | run_time_error | UNIX for Dummies Questions & Answers | 7 | 01-06-2005 06:59 PM |
| replacing old motd with new motd | antalexi | Shell Programming and Scripting | 2 | 11-30-2004 11:42 AM |
| Linux help on X and motd | ###1tomato | UNIX for Dummies Questions & Answers | 4 | 05-02-2002 05:20 AM |