Path: utzoo!utgpu!attcan!uunet!mcvax!unido!iraun1!iraul1!schuetz From: schuetz@iraul1.ira.uka.de (Elmar Schuetz) Newsgroups: comp.unix.questions Subject: Re: Hiding stuff Message-ID: <867@iraun1.ira.uka.de> Date: 17 Mar 89 04:50:07 GMT References: <18676@adm.BRL.MIL> Sender: news@iraun1.ira.uka.de Reply-To: schuetz@ira.uka.de (Elmar Schuetz) Organization: University at Karlsruhe, FRG Lines: 35 In article <18676@adm.BRL.MIL> drears@PICA.ARMY.MIL (Dennis G. Rears (FSAC)) writes: >[The original poster - I lost the name] wrote: >> How do I hide what I doing,specifically,when someone envokes a >>w,who,top,finger,ps,lastcom,etc...,it doesn't show what I doing. > My favourite way is to "rsh hostname /bin/csh". You need 'csh -i'. But it's not very funny to work if you have no tty accessed and therefore NO job control in the shell. >w, who, finger, lastcom can't catch me. lastcomm DOES catch you! > Ps, and top can catch me >however. Then I use the command "ch realcmd arguments" to run any >program. Ch basically puts spaces into argv[0]. This will hide it >from ps and top. I don't know the command 'top', maybe that's what we call 'lastcomm' which shows the last commands which had been executed. But, if you use 'top' the way we use 'lastcomm', what does your 'lastcom' with one 'm' at the end do? Anyway, 'ps -auxww' will show the arguments you use. Note the two 'w's. (Under 4.x bsd and Ultrix 3.0) My question to the original poster: Why do you want to hide your commands. Are you going to crack the system...? Cheers, Elmar -- csnet, internet, ean, dfn: schuetz@ira.uka.de | bitnet: schuetz@dkauni0i.bitnet -- I met a man who lost his mind in some lost place I had to find; "Follow me," the wise man said but he walked behind. -- Leonard Cohen "Teachers"