Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!samsung!zaphod.mps.ohio-state.edu!ncar!mephisto!prism!gt0178a From: gt0178a@prism.gatech.EDU (JIM BURNS) Newsgroups: comp.unix.questions Subject: Re: Preventing Idle in telnet, security, and bg. Message-ID: <14228@hydra.gatech.EDU> Date: 28 Sep 90 13:28:12 GMT References: Distribution: comp Organization: Georgia Institute of Technology Lines: 21 in article , davis@pacific.mps.ohio-state.edu ("John E. Davis") says: > However, sometimes I forget to kill it before I logout. I was wondering > what is the best way to put it into the background so that when I logout, it > dies? I wrote the program in c, if this helps. Seems to me that progs backgrounded w/ a plain '&' would be killed automatically when you logout. It's 'nohup'-ed procs that survive. > executable file called 'ls'. Here it is: [...] > What happens, is if someone steps into this directory and types 'ls' this > thing takes his picture. In principle, he could add a few more lines to copy Not very useful unless the intruder has '.' in his $PATH, and useless if he 'ls's that directory from another. -- BURNS,JIM Georgia Institute of Technology, Box 30178, Atlanta Georgia, 30332 uucp: ...!{decvax,hplabs,ncar,purdue,rutgers}!gatech!prism!gt0178a Internet: gt0178a@prism.gatech.edu