chip@pender.ee.upenn.edu (Charles H. Buchholtz) (05/02/91)
I run a few multi-user machines running SunOS 4.1. Our users login via telnet and rlogin. Frequently, the following problem occurs: Arnold logs in on ptyp1, starts a long running job, puts it in background (via ^Z bg), and then logs out. "ps" shows "?" as the process' tty. Betty logs in on ptyp1, and sees the output of Arnold's background process on her display mixed in along with her session. What I want is: Some way to cause such processes to abort as soon as they try to write to the pty, or failing that, some way to cause the processes to block when they try to write to the pty. I can't count on the users to do anything; I need a system wide solution. A Sun Patch number or "fixed in 4.1.1" is an acceptable solution. History (from memory): Under SunOS 4.0 & 4.0.1, Betty would occasionally be unable to login until Arnold's process was killed. "ps" would show "p1" for the process's tty. Under SunOS 4.0.3, Betty would be able to login, but would see the output from Arnold's process. The process would show "p1" as it's tty. In order to save bandwidth, please email me if you have a suggestion, or if you are interested in what I learn. If I receive more than three "me too"s, I will post a summary to the net (iff I have anything worth summarizing). Thanks, Charles H. Buchholtz chip@ee.upenn.edu Systems Programmer (215) 898-2491 School of Engineering and Applied Science 200 S. 33rd St, rm 154 University of Pennsylvania Philadelphia, PA 19104