home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / unix / aix / 8735 < prev    next >
Encoding:
Internet Message Format  |  1992-08-12  |  1.2 KB

  1. Path: sparky!uunet!cis.ohio-state.edu!zaphod.mps.ohio-state.edu!ub!csn!teal.csn.org!losburn
  2. From: losburn@teal.csn.org (Lynn Osburn)
  3. Newsgroups: comp.unix.aix
  4. Subject: Re: uucp and getty on a shared tty - anybody done it ?
  5. Message-ID: <BsvL32.G5L@csn.org>
  6. Date: 12 Aug 92 14:47:24 GMT
  7. References: <199210Aug.074455.13070@quay.ie>
  8. Sender: news@csn.org (news)
  9. Organization: Colorado SuperNet, Inc.
  10. Lines: 17
  11. Nntp-Posting-Host: teal.csn.org
  12.  
  13. >uucp can't work unless permissions grant it read access to the port. So far,
  14. >the solution that I have come up with is to put a "chmod 666 /dev/tty1" into 
  15. >the root cron file, and this works, but is hardly elegant.  What is the 
  16. >solution to this problem ?  Is there some way to set the default permissions
  17. >that getty configures a port with ?
  18. >
  19.  
  20. Use pdelay instead of pshare.  In enable or share mode, getty grabs the port,
  21. waiting for a login.  In delay mode, there is no getty until CD goes high,
  22. indicating a connection, and then after a short time (~3 sec?), or if 
  23. characters are recieved, a getty is spawned to handle the (implied) login.
  24.  
  25. Since getty hasn't locked the port till CD changes state, uucp can grab it
  26. for outgoing calls.  When he gets a Carrier Detect, getty can't start because
  27. uucp has a lock on the port...
  28.  
  29. oz
  30.