Newsgroups: comp.unix.wizards
Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!casbah.acns.nwu.edu!navarra
From: navarra@casbah.acns.nwu.edu (John 'tms' Navarra)
Subject: Re: Is it possible to hide process args from 'ps -ef'?? (Recap)
Message-ID: <1991Apr23.090439.29024@casbah.acns.nwu.edu>
Organization: Northwestern University
References: <7294@auspex.auspex.com> <1991Apr21.174709.27641@NCoast.ORG> <7326@auspex.auspex.com>
Date: Tue, 23 Apr 1991 09:04:39 GMT
Lines: 22


            I have been vaguely following this discussion and this might 
 sound simple (and of course it might not work) but if you want to hide a 
 process from ps (like a passwd call) how bout this:

 make a /bin/ps which does the following:

        exec /bin/psfiltered | grep -v passwd

          

 then you hide psfiltered somewhere (maybe not in bin) but so it is not 
 readlily accessible by others and so everybody will call ps like usual but
 now it can be supplied with a list not to display.

 I don't know -- it's just off the top of my head.

         
-- 
From the Lab of the MaD ScIenTiST:
      
navarra@casbah.acns.nwu.edu
