LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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, 05: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, 07:19 AM   #2
bhaslinux
Member
 
Registered: Oct 2003
Location: UnitedKingdom
Distribution: Debian Bullseye
Posts: 357

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

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
compare to your system backups from before the change was mande ;-)
 
Old 05-07-2009, 07: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, 07:41 AM   #5
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
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, 09: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, 08:45 PM   #7
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,362

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

Rep: Reputation: 191Reputation: 191
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, 08: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, 08:06 AM   #10
schneidz
LQ Guru
 
Registered: May 2005
Location: boston, usa
Distribution: fedora-35
Posts: 5,313

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


Reply



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 11:26 AM
Please amend apache conf/httpd.conf file please payjoe Linux - Newbie 7 09-21-2007 05:12 PM
httpd.conf file neocontrol Fedora 3 12-06-2006 01:32 PM
saving changes to apache2/conf/httpd.conf file Zaius Linux - Newbie 6 01-09-2004 11:45 PM
httpd.conf File? HappyDude Linux - Software 3 08-16-2003 12:38 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:18 PM.

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
Open Source Consulting | Domain Registration