[ale] named pipe question

Bob Toxen bob at verysecurelinux.com
Tue Dec 9 18:17:55 EST 2003


On Tue, Dec 09, 2003 at 03:02:47PM -0500, Bjorn Dittmer-Roche wrote:
> On Tue, 9 Dec 2003, David Hamm wrote:

> > I can't remember how to find the binary associated with a named
> > pipe(made with mkfifo).  Could someone give me a clue?

> would fuser do the trick?

     find / -type p -ls

Note the pathname.  We'll call it /tmp/foo today.

     /bin/ls -l /proc/[0-9]*/fd/* | grep tmp/foo

> 	bjorn

Bob Toxen
bob at verysecurelinux.com               [Please use for email to me]
http://www.verysecurelinux.com        [Network&Linux/Unix security consulting]
http://www.realworldlinuxsecurity.com [My book:"Real World Linux Security 2/e"]
Quality Linux & UNIX security and SysAdmin & software consulting since 1990.

"Microsoft: Unsafe at any clock speed!"
   -- Bob Toxen 10/03/2002



More information about the Ale mailing list