Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: dwcasey
  • Order by date
  1. dwcasey

    file date check

    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...
  2. dwcasey

    file comparison

    I think comm will do it, thanks.
  3. dwcasey

    file comparison

    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...
  4. dwcasey

    how to copy compiled binaries to other system

    I'm a little familar with TCB on AIX. From what I know, however, is that is requires the OS to be reinstalled.
  5. dwcasey

    how to copy compiled binaries to other system

    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...
  6. dwcasey

    Daylight Savings, fall back, coming

    thank you.
  7. dwcasey

    how to copy compiled binaries to other system

    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...
  8. dwcasey

    Daylight Savings, fall back, coming

    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?
  9. dwcasey

    how to copy compiled binaries to other system

    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...
  10. dwcasey

    how to copy compiled binaries to other system

    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...
  11. dwcasey

    how to copy compiled binaries to other system

    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...
  12. dwcasey

    how to copy compiled binaries to other system

    I got it installed, but I'm getting the same error >rpm -qa | grep libstd libstdc++-4.2.0-2
  13. dwcasey

    how to copy compiled binaries to other system

    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...
  14. dwcasey

    system accounting?

    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.
  15. dwcasey

    system accounting?

    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?
  16. dwcasey

    too many files to list

    thank you.
  17. dwcasey

    too many files to list

    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.
  18. dwcasey

    sql query to return login names of users

    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...
  19. dwcasey

    change username and keep uid

    How can I change only username ( login name ) and preserve the UID? I tried to use usermod, but I get an error.
  20. dwcasey

    grep for pattern get the next line

    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.

Part and Inventory Search

Back
Top