[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Files modified by programs



On Thu, 8 Nov 2001, David Nicol wrote:

> Phil wrote:
> >
> > Hi,
> >
> > Do you think it could be possible to move every file that are modified by
> > a program and that are now under /etc to /var ?
> >
> > All this files make life very hard when you want to have a read-only /etc
>
>
> You could have an absolute symbolic link in your read-only /etc to
> a place you know will be read-write, for instance /dev/shm/etc/...
>


This won't work for files that are used as flags (/etc/nologin) or
even files that are modified by a moving them and creating
new ones.


--
Philippe Biondi <pbi@ cartel-info.fr>   Cartel Informatique
Security Consultant/R&D                 http://www.cartel-info.fr
Phone: +33 1 44 06 97 94                Fax: +33 1 44 06 97 99
PGP KeyID:3D9A43E2  FingerPrint:C40A772533730E39330DC0985EE8FF5F3D9A43E2




Reply to: