Sponsored Content
Top Forums Shell Programming and Scripting monitor(audit) and log changes inside directory Post 302597810 by stev.h on Sunday 12th of February 2012 09:45:50 AM
Old 02-12-2012
There are some programs exactly the function I need, like open source EICS - Easy Integrity Check System (sry, cannot post link, plz google it)

or L5 => fossies.org/unix/misc/old/L5.tgz, and commercial soft tripwire

Unfortunately, I cannot find the same wrote in script (still researching

Hope anyone could give a hint, thanks.

Last edited by stev.h; 02-12-2012 at 01:27 PM..
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Directory list inside a directory

Hi Bosses! I have a directory name sih. that directory contains some more directories and some files. i just want to list (ls) the directories under this directory. What will be the command.I am using debian linux. Thanks bosses.will appreciate your help. sih (6 Replies)
Discussion started by: little_jhon
6 Replies

2. Shell Programming and Scripting

Directory inside directory problem

hii, I have to create a directory under the same directory with the date +%a extension like this BackupLocation=$BackupLocation/$BackupLocation$(date +%w) but the problem is --- if backuplocation is abc/dfg then accroding to the above statement it would be abc/dfg/abc/dfg5 but i... (6 Replies)
Discussion started by: namishtiwari
6 Replies

3. Shell Programming and Scripting

script to monitor directory

What is the best way for a script to run to monitor a directory for the presence of files and then perform a function afterwords? I was hoping to have it continually run and sleep until it detects that files are present in the directory, then break out of the loop and go on to the next step. ... (17 Replies)
Discussion started by: nulinux
17 Replies

4. AIX

monitor directory events

I'm am looking for a cheap way to trigger a script when a new file is written in a specific directory. AIX 5.3. It is a production system, so no kernel patching (i.e. inotify). Filemon and audtiing are too expensive. Thanks in advance. (2 Replies)
Discussion started by: pbillast
2 Replies

5. UNIX for Dummies Questions & Answers

Monitor directory and email

Hello all, Can anyone please guide / help me in the following task.... I have a directory where some external users will upload pdf files. The filename of these pdf will be of a particular format (<id>-<first name>_<last name>_<some number>.pdf) I want to make a script such that it takes... (6 Replies)
Discussion started by: dhawalkv
6 Replies

6. Shell Programming and Scripting

Directory Monitor in KSh

Hi, I need to write a directory monitor, i.e. a korn shell script which would Report changes to the directory contents, like: added file1, deleted file2, updated file3 , created subdir (optional)... There is no specific file pattern. So far I have written a little script... (1 Reply)
Discussion started by: olegkon
1 Replies

7. UNIX for Dummies Questions & Answers

Zip files inside the directory, but not the directory itself

Hi, Im facing a problem that im stucked, I have the following structure: thales@pereirtc-vbox:/home/VfARM$ ls code config doc lib manifest.bak manifest.rel manifest.v3 ns pub if i try to execute zip -q -o arm.zip VfARM/* it will create a zip file with the folder VfARM.... (2 Replies)
Discussion started by: Thales.Claro
2 Replies

8. Shell Programming and Scripting

How to monitor a command inside shell script

Hi All, Is there any way to monitor a command inside shell script ? I have a script inside which I have a tar command which zips around 200GB data. tar zcvf $Bckp_Dir/$Box-BaseBackup-$Day.tar.gz * --exclude 'dbserver_logs/*' --exclude postmaster.pid --exclude 'pg_xlog/*' I want to... (3 Replies)
Discussion started by: sussus2326
3 Replies

9. AIX

When AIX audit start, How to set the /audit/stream.out file size ?

Dear All When I start the AIX(6100-06)audit subsystem. the log will save in /audit/stream.out (or /audit/trail), but in default when /audit/stream.out to grow up to 150MB. It will replace the original /audit/stream.out (or /audit/trail). Then the /audit/stream.out become empty and... (2 Replies)
Discussion started by: nnnnnnine
2 Replies

10. Shell Programming and Scripting

How to grep all the files inside the directory and Sub directory

Hi, I have used the command cat * | grep -r <<String>> * It returns: cat : JAN : is directory *********************** ********************* My directory structure: log - JAN -catalina.out -FEB -catalina.out -MARCH ... (11 Replies)
Discussion started by: nanthagopal
11 Replies
TWINTRO(8)						      System Manager's Manual							TWINTRO(8)

NAME
twintro - introduction to Tripwire software DESCRIPTION
Tripwire 2.3.1 is a file integrity assessment product for Linux networks. Rather than preventing an intruder or virus from attacking sys- tem files, Tripwire detects intrusions when they do occur. By comparing system files and directories against a previously stored "baseline" database, Tripwire finds any additions, deletions, or changes to specified properties. This allows the system administrator to determine the extent of the problem and begin necessary damage control. After Tripwire is installed on a system, the following four commands are used: tripwire(8) is used for most of the basic operations of the software. This includes creation of the Tripwire database, and checking the integrity of the filesystem against that database. twadmin(8) is used to create, encode, and sign Tripwire policy, configuration, and key files, and for various administrative functions. twprint(8) prints Tripwire database and report files in a plain text format. siggen(8) is a file utility that displays hash values for files. In addition to the command references listed above, the following three man pages provide information on important components of the Trip- wire package. twfiles(5) provides an overview of the various files created and used by Tripwire, including default locations and settings. twconfig(4) explains the configuration file, which is used to set system-specific information that affects Tripwire operation. twpolicy(4) explains the policy file, which specifies the files and directories Tripwire should check, and how they should be scanned. Using the --help flag with any Tripwire command (e.g. tripwire --help) will print a short summary of the command modes for that command. If a mode selector is also specified (e.g. tripwire --check --help), a mode-specific usage message will be displayed. Using the all argu- ment with the --help flag (e.g. tripwire --help all) will print detailed usage messages for all modes of the specified command. VERSION INFORMATION
This man page describes Tripwire 2.3.1. AUTHORS
Tripwire, Inc. COPYING PERMISSIONS
Permission is granted to make and distribute verbatim copies of this man page provided the copyright notice and this permission notice are preserved on all copies. Permission is granted to copy and distribute modified versions of this man page under the conditions for verbatim copying, provided that the entire resulting derived work is distributed under the terms of a permission notice identical to this one. Permission is granted to copy and distribute translations of this man page into another language, under the above conditions for modified versions, except that this permission notice may be stated in a translation approved by Tripwire, Inc. Copyright 2000 Tripwire, Inc. Tripwire is a registered trademark of Tripwire, Inc. in the United States and other countries. All rights reserved. SEE ALSO
tripwire(8), twadmin(8), twprint(8), siggen(8), twconfig(4), twpolicy(4), twfiles(5) The Design and Implementation of Tripwire: A UNIX File Integrity CheckerbyGeneKimandEugeneSpafford.PurdueTechnicalReportCSD-TR-93-071. 1 July 2000 TWINTRO(8)
All times are GMT -4. The time now is 04:22 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy