LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-07-2009, 06:55 AM   #1
vinaycharles
LQ Newbie
 
Registered: May 2009
Posts: 6

Rep: Reputation: 0
Unhappy 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
 
Old 05-07-2009, 08:19 AM   #2
bhaslinux
Member
 
Registered: Oct 2003
Location: UnitedKingdom
Distribution: Debian Lenny
Posts: 351

Rep: Reputation: 47
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.
 
Old 05-07-2009, 08:20 AM   #3
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
compare to your system backups from before the change was mande ;-)
 
Old 05-07-2009, 08:20 AM   #4
flopypl
LQ Newbie
 
Registered: Apr 2009
Location: Poland
Distribution: Slackware 12.1
Posts: 20

Rep: Reputation: 0
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.
 
Old 05-07-2009, 08:41 AM   #5
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Willoughby, Ohio
Distribution: linuxdebian
Posts: 7,232
Blog Entries: 5

Rep: Reputation: 190Reputation: 190
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)
 
Old 05-08-2009, 10:51 PM   #6
vinaycharles
LQ Newbie
 
Registered: May 2009
Posts: 6

Original Poster
Rep: Reputation: 0
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
 
Old 05-10-2009, 09:45 PM   #7
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.8, Centos 5.10
Posts: 17,241

Rep: Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325
see also tripwire
 
Old 05-10-2009, 10:48 PM   #8
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Willoughby, Ohio
Distribution: linuxdebian
Posts: 7,232
Blog Entries: 5

Rep: Reputation: 190Reputation: 190
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..
 
Old 04-07-2015, 09:01 AM   #9
vinaycharles
LQ Newbie
 
Registered: May 2009
Posts: 6

Original Poster
Rep: Reputation: 0
Unhappy 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
 
Old 04-07-2015, 09:06 AM   #10
schneidz
LQ Guru
 
Registered: May 2005
Location: boston, usa
Distribution: fc-15/ fc-20-live-usb/ aix
Posts: 5,029

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


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Starting httpd: httpd: Syntax error on line 209 of /etc/httpd/conf/httpd.conf: Syntax sethukpathi Linux - Networking 6 04-12-2008 12:26 PM
Please amend apache conf/httpd.conf file please payjoe Linux - Newbie 7 09-21-2007 06:12 PM
httpd.conf file neocontrol Fedora 3 12-06-2006 02:32 PM
saving changes to apache2/conf/httpd.conf file Zaius Linux - Newbie 6 01-10-2004 12:45 AM
httpd.conf File? HappyDude Linux - Software 3 08-16-2003 01:38 AM


All times are GMT -5. The time now is 06:20 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration