Go Back   The UNIX and Linux Forums > Special Forums > Security
google site



Security Discuss UNIX and Linux computer and network security, cybersecurity, cyberattacks, IT security, CISSP, OWASP and more.

Closed Thread
English Japanese Spanish French German Portuguese Italian Powered by Powered by Google
 
Search this Thread
  #1  
Old 01-08-2002
killerserv's Avatar
Unix Predator
 

Join Date: Dec 2000
Location: Phoenix, AZ
Posts: 670
Thanks: 0
Thanked 0 Times in 0 Posts
Question Editing motd

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  
Old 01-08-2002
thehoghunter
Guest
 

Posts: n/a
Bits: 0 [Banking]
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  
Old 01-08-2002
killerserv's Avatar
Unix Predator
 

Join Date: Dec 2000
Location: Phoenix, AZ
Posts: 670
Thanks: 0
Thanked 0 Times in 0 Posts
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..
  #4  
Old 01-09-2002
thehoghunter
Guest
 

Posts: n/a
Bits: 0 [Banking]
Can you post the output of a ls -l /etc/motd ?
Sponsored Links
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


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



All times are GMT -4. The time now is 11:32 PM.