Hiding stuff

Elmar Schuetz schuetz at iraul1.ira.uka.de
Fri Mar 17 14:50:07 AEST 1989


In article <18676 at adm.BRL.MIL> drears at 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 at ira.uka.de | bitnet: schuetz at 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"



More information about the Comp.unix.questions mailing list