From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Thread: e63b27eb52,26a7379b02844403 X-Google-Attributes: gide63b27eb52,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII Path: g2news2.google.com!postnews.google.com!r36g2000vbn.googlegroups.com!not-for-mail From: catrefil Newsgroups: comp.unix.tru64 Subject: Re: Preventing log file deletion Date: Fri, 9 Oct 2009 06:42:11 -0700 (PDT) Organization: http://groups.google.com Message-ID: References: <2b8a7669-aa3d-4df5-aad3-9d3d2a26787d@31g2000vbf.googlegroups.com> <4accd8bf$0$3849$9b536df3@news.fv.fi> NNTP-Posting-Host: 199.22.57.2 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: posting.google.com 1255095731 24150 127.0.0.1 (9 Oct 2009 13:42:11 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Fri, 9 Oct 2009 13:42:11 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: r36g2000vbn.googlegroups.com; posting-host=199.22.57.2; posting-account=UCOt4QoAAAATAXVqiwindXDtuiZ56WbX User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322),gzip(gfe),gzip(gfe) Xref: g2news2.google.com comp.unix.tru64:108 On 7 oct, 14:06, Kari Uusim=E4ki wrote: > catrefil wrote: > > Hi, > > > I'm trying to prevent log file from being deleted. > > Would anybody already have implemented something like that? or have > > any idea on how to do it? > > > Thanks > > > P. > > The information you told is very limited. Could you please describe your > problem more thorough so it would be better to understand what you want > to accomplish? > > Which log do you mean? In which situation does it become deleted? > > Kari any log really but say /var/adm/messages If somebody accidentally or intentionally deletes it. I'm trying to do this as part of my hardening. The idead is If the log file cannot get deleted then I'll always know what happened