Date: Tue, 5 Mar 2002 15:43:02 -0500 From: "Chuck O'Donnell" <cao@bus.net> To: sandy nandy <sandynandy@hotmail.com> Cc: freebsd-questions@freebsd.org Subject: Re: how to check the ctime of all files Message-ID: <20020305204302.GA3167@bus.net> In-Reply-To: <F273OAmEaJswFCHOzyf0000888d@hotmail.com> References: <F273OAmEaJswFCHOzyf0000888d@hotmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Mar 05, 2002 at 10:25:09AM -0600, sandy nandy wrote: > Hi guys > > i was wondering if there is any utility to do this or by using a shell > script > > Check the ctime of all files in /sbin /bin /usr/sbin and /usr/bin for any > changes from the original. > The /etc/security script is a good place to start for an example of automated checks for file system mods. The task you describe will most likely require writing a shell script that uses find(1). I'm not sure what your ultimate goal is, but an md5(1) check may be more reliable than a simple ctime check for tracking file mods. You may also want to check ports/security to see if one of those packages will do what you need. Good luck. Chuck To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020305204302.GA3167>