LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   how i know what changes was done in file(httpd.conf) (https://www.linuxquestions.org/questions/linux-newbie-8/how-i-know-what-changes-was-done-in-file-httpd-conf-724361/)

vinaycharles 05-07-2009 05:55 AM

how i know what changes was done in file(httpd.conf)
 
Hi ,

i am working in linux last 6 month. and i want to now that i have a apache server and some one has change some line in httpd.conf yesterday or day before yesterday how i know what change was done in this file on which date.anyone can help


Regards
Charles

bhaslinux 05-07-2009 07:19 AM

You can fine when the change has happened from the last C/A time in the file timestamp
But you cannot (in a normal file) find out what changes have been made.

acid_kewpie 05-07-2009 07:20 AM

compare to your system backups from before the change was mande ;-)

flopypl 05-07-2009 07:20 AM

My solution:

Use cron to make copy of httpd.conf e.g. on every one hour, than you could compare copyied file with original file.

farslayer 05-07-2009 07:41 AM

Is it someone in house that made the change and it's fine ? or are you wanting a way to monitor the server for any file changes and prevent them (AIDE, fcheck, afick, samhain)

vinaycharles 05-08-2009 09:51 PM

Thank
 
I was haired one command found in linux by that command you can check what changes was done last time. I am looking for this command.
but now i am reading for AIDE and other tool which is mention in your post

Thank

chrism01 05-10-2009 08:45 PM

see also tripwire

farslayer 05-10-2009 09:48 PM

The reason I didn't mention tripwire is that the open source versions last release was in 2007..

Quote:

http://sourceforge.net/projects/tripwire/
# Open Source Tripwire 2.4.1.2 Released 2007-04-18
Since development of the Open source version of tripwire seems to have stalled I would recommend going with a more active project, unless you plan on using the commercial version of tripwire..

vinaycharles 04-07-2015 08:01 AM

NIS Related Query
 
Hi Everyone,

I world like to know something about NIS server.

Recently i have configured NIS MASTER and SALVE in our environment. I have created users on NIS master and able to login on NIS master and NIS client but not on NIS SALVE(Already updated database /usr/lib64/yp/ypinit -s NISMASTERSERVERNAME).

Second thing i would like to know, if Master NIS will be down then can i reset users password from NIS SALVE server.

Thanks
Vinay Charles

schneidz 04-07-2015 08:06 AM

reposted here:
http://www.linuxquestions.org/questi...ue-4175538996/


All times are GMT -5. The time now is 08:28 PM.