From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: David.Knight@clubcorp.com Newsgroups: gmane.os.tru64.managers Subject: finding what processes are accessing a file? Date: Mon, 15 Nov 2004 14:53:16 -0600 Message-ID: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1100552240 16028 80.91.229.6 (15 Nov 2004 20:57:20 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 15 Nov 2004 20:57:20 +0000 (UTC) Original-X-From: tru64-unix-managers-owner-gotm-tru64-unix-managers=m.gmane.org@sws1.ctd.ornl.gov Mon Nov 15 21:57:06 2004 Return-path: Original-Received: from sws1.ornl.gov ([160.91.1.101]) by deer.gmane.org with smtp (Exim 3.35 #1 (Debian)) id 1CTnuL-0006qz-00 for ; Mon, 15 Nov 2004 21:57:05 +0100 Original-Received: (qmail 20826 invoked by uid 5); 15 Nov 2004 20:56:27 -0000 Original-Sender: tru64-unix-managers-owner@ornl.gov Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 20811 invoked by uid 49501); 15 Nov 2004 20:56:27 -0000 Original-Received: from David.Knight@clubcorp.com by sws1 by uid 49491 with qmail-scanner-1.21 (clamdscan: 0.70-rc. iscan: v3.1/v5.600-1011/847/50540. spamassassin: 2.63. Clear:RC:0(160.91.4.110):SA:0(-2.6/5.0):. Processed in 1.30846 secs); 15 Nov 2004 20:56:27 -0000 Original-Received: from unknown (HELO emroute3.ornl.gov) (160.91.4.110) by 0 with SMTP; 15 Nov 2004 20:56:25 -0000 Original-Received: from emroute3.ornl.gov (localhost [127.0.0.1]) by emroute3.ornl.gov (PMDF V6.2-X27 #30899) with ESMTP id <0I78000W7NHNMH@emroute3.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Mon, 15 Nov 2004 15:56:23 -0500 (EST) Original-Received: from VIRUSCAN-DAEMON.emroute3.ornl.gov by emroute3.ornl.gov (PMDF V6.2-X27 #30899) id <0I7800802NH5MH@emroute3.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Mon, 15 Nov 2004 15:56:02 -0500 (EST) Original-Received: from smtp2.clubcorp.com (fw2.clubcorp.com [204.57.103.6]) by emroute3.ornl.gov (PMDF V6.2-X27 #30899) with ESMTP id <0I78007DZNH3BQ@emroute3.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Mon, 15 Nov 2004 15:55:53 -0500 (EST) Original-Received: from nshub1.clubcorp.com (Not Verified[10.10.7.10]) by smtp2.clubcorp.com) id ; Mon, 15 Nov 2004 14:55:49 -0600 Original-To: tru64-unix-managers@ornl.gov X-Mailer: Lotus Notes Release 5.0.11 July 24, 2002 X-MIMETrack: Serialize by Router on NSHUB1/CLUBCORP/US(5012HF429 | October 14, 2003) at 11/15/2004 02:52:06 PM, Serialize complete at 11/15/2004 02:52:06 PM X-Envelope-From: X-ORNL-Envelope-To: tru64-unix-managers@sws1.ctd.ornl.gov rfc822;tru64-unix-managers@ornl.gov Xref: main.gmane.org gmane.os.tru64.managers:7777 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:7777 Hello Managers, I am in the process of eliminating .netrc files and re-writing automated ftp scripts to use sftp with key based authentication. Unfortunately there is little to no documentation as to what (every) process that utilizes the .netrc files to "auto login". I was thinking one way I would trap what processes are running that utilize the .netrc file is to run a script that uses fuser -uvf to show what process is accessing it however I don't think that this would be quick enough to capture all processes. Maybe there is a better way threw some auditing subsystem/etc.... Any help with the fuser stick or some better suggesting would be great! Thanks in advance, David