I am wanting to check the date of all files in a directory and if they are not today's date, send an alert ( email, log, etc. )
If I run:
find . -type f -mtime +1
in my directory where the files are, I get files that are 1 day old. This will work, but I was just wondering if there was a...
I am trying to look at files in a directory and compare that list of files with a list I have in file.
So compare ls -1 output with a file called allfiles.lst and tell me if any are missing from the ls -1 listing. I just run ls -1 > current then compare current with allfiles.lst.
I've tried...
Samhain worked as far as compiling on one machine and copying to another, thank you!
As far as who did what, I agree. I was sure what sort of data is kept track of by these various apps ( tripwire, samhain, etc ).
I think a file scan, store to db methodology works well as a level set, then...
Well, not having too much luck still, so I'm starting to wonder if there is a tripwire-like app out there? Doesn't have to be as robust, but simply to watch files in a directory and see if their attributes have changed.
I could cron it to run at midnight, create a new list of files, compare to...
I thought AIX did some time creep/slew so that at 2am, it was just 2am and it didn't slam it back to 1am, then hit 2am again.
Does anyone have a link to a doc explaining this?
On the working system
/usr/local/lib/power/libstdc++.a
/usr/local/lib/powerpc/libstdc++.a
/usr/local/lib/ppc64/libstdc++.a
/usr/local/lib/pthread/power/libstdc++.a
/usr/local/lib/pthread/powerpc/libstdc++.a
/usr/local/lib/pthread/ppc64/libstdc++.a
/usr/local/lib/pthread/libstdc++.a...
Hrm...I'm confused
ar t libstdc++.a|grep libstdc++.so
ar: 0707-100 libstdc++.a does not exist.
>rpm -qa
cdrecord-1.9-4
mkisofs-1.13-4
vnc-3.3.3r1-2
prngd-0.9.29-1
zlib-1.2.2-4
sudo-1.6.7p5-1
openssl-0.9.7g-1
expect-5.42.1-3
tcl-8.4.7-3
tk-8.4.7-3
gcc-4.0.0-1
AIX-rpm-5.3.7.0-6
It works on...
p5, that might be it as well, but I only see what appears to be version 4 of libstdc out there, even in the link given above. I'm just not sure at this point.
I added the LIBPATH, getting similar error:
exec(): 0509-036 Cannot load program ./tripwire because of the following errors...
I have downloaded and compiled tripwire on my dev machine. Now i want to push this out to other systems as-is. I don't want to have to install gcc and compile a dozen other systems. We like to keep those systems 'clean' if you know what I mean.
I compiled and tar'd up the dir, then ftp'd it...
thanks, I'm reading sg246396 now. I'll give that a look-see. I'm wanting to only do file level monitoring for only one user. Trying to weed through all the notes and such to get an idea how to set that up.
Looking for a way to track file level movement/changes, etc. I've heard about accounting on unix systems, but that it's a hog.
How does this work on AIX? What about any open-source alternatives?
Trying to do a simple ls in a directory and I'm getting:
ls: 0653-340 There is not enough memory available now.
Is there a way to format a find command to say show me files that are 6-months or 12-months old? That might allow me to get some of what's in there.
We send login information from some systems to an MySQL server. I am requested to do an audit for specific id's. How can I select where name = mscroot ?
I'm using Mysqlcc. So I click on the table, then click SQL and get
SELECT *
FROM `login_sessions`
The column name I want to match mscroot...
ok, pretty sad, but I'm replying to my own post. if someone comes up with other ways to do this, I would be interested.
I ended up piping my out to awk:
awk '/Application Name/{getline;print}'
And I only get the line with the application version.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.