Automatic replacement of files?

Chris Nelson cnelson at silvae.cfr.washington.edu
Fri Sep 10 14:30:44 PDT 1999


Everyone is going to answer it, but hey I know the answer for once.

The issue and issue.net files are created when rc.local is processed in the
/etc/rc.d directory.  At least that's the way it works for Redhat 6.0

Chris

At 02:07 PM 9/10/99 -0700, you wrote:
>Hey guys, maybe one of you can help me.  This is using Mandrake 6.0, a
>distro that mirrors RH very closely, so answers will doubtless apply to
>both...
>
>
>If I replace things like my /etc/issue or /etc/issue.net (the files
>displayed for login on local console and on connection remotely,
>respectively) and reboot, the files get replaced somehow. The penguin
>picture has a slight error because one of the lines of statistics wraps
>over the next line (where does it get that info anyway?), so as root, I
>make a backup version and then edit the file.  OK, so if I log out,
>everything looks ok.  The initial screen (for non-XDM setups) is now my
>edited /etc/issue.  Same goes for the /etc/issue.net (I edit it heavily
>because I don't think people should receive that information from my box
>without even logging in.  Looks like a security risk to me). Everything is
>as it should be till I reboot.
>
>When I reboot, the files get replaced. Both /etc/issue and /etc/issue.net
>have been replaced by the origional files at some point in the boot-up.
> 
>I have noticed this effect on other files before, but this is the best
>example I have found yet.  Where are the origionals, where in boot up does
>it do this, and how do I either stop it, or replace its template?
> 
>Later,
> David
     
>
--------------------
Christopher E. Nelson		Wk Phone:  206-543-5772
Research Assistant			Hm Phone:  206-784-7398
CFR, Box 352100			WWW:       weber.u.washington.edu/~worrt
University of Washington	           	silvae.cfr.washington.edu
Seattle, WA 98195			ICQ:	   693790

-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GS d- s+:- a- C++ U++++ P L+++ E--- W++ N++ o-- K- w---
O- M- V-- PS+ PE+ Y PGP- t+++ 5- X R tv++ b+++ DI++ D++
G e++ h r-- z++
------END GEEK CODE BLOCK------



More information about the Linux mailing list