BSD tty security, part 3: How to Fix It

Neil Rickert rickert at mp.cs.niu.edu
Sat May 4 23:29:53 AEST 1991


In article <1991May1.121058.20933 at osceola.cs.ucf.edu> ssd at engr.ucf.edu (Steven S. Dick) writes:
>I didn't think of putting in a pause before sending the next 20
>lines...  This might be useful.  I wouldn't actually pause--just record
>the time, and make sure that some decent amount of time (like at least
>1 sec per line) has passed before sending anything more.  Nobody can
>actually type that fast anyway.  :-)

 How about not just 'pausing', but also closing and re-opening the file
descriptor before sending any more.  This would honor any change in
permissions.

-- 
=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=
  Neil W. Rickert, Computer Science               <rickert at cs.niu.edu>
  Northern Illinois Univ.
  DeKalb, IL 60115                                   +1-815-753-6940



More information about the Comp.unix.wizards mailing list