home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / unix / aix / 12595 < prev    next >
Encoding:
Text File  |  1992-12-15  |  1.5 KB  |  34 lines

  1. Newsgroups: comp.unix.aix
  2. Path: sparky!uunet!usc!sdd.hp.com!cs.utexas.edu!uwm.edu!linac!att!cbnews!cbnewsm!cbnewsl!att-out!pacbell.com!pacbell!sactoh0!jak
  3. From: jak@sactoh0.sac.ca.us (Jay A. Konigsberg)
  4. Subject: /dev/tty1 ownership changes to uucp
  5. Message-ID: <1992Dec16.010530.13434@sactoh0.sac.ca.us>
  6. Organization: Sacramento Public Access Unix
  7. Date: Wed, 16 Dec 92 01:05:30 GMT
  8. Lines: 24
  9.  
  10. We have an application that drives a special purpous modem - all
  11. drivers are present in the software. Getty is shut down and AIX 3.2.?
  12. isn't even told about the port except to define it. The port is tty1 
  13. (S1, the second native serial port).
  14.  
  15. In order to use the port, the application login is set to own the port
  16. during install. If it doesn't own the port, it can't access the modem 
  17. attached to it and the process doesn't work.
  18.  
  19. The problem is that the owenship of the port is changed to uucp under
  20. several conditions (some known, some unknown). We do not want this
  21. to happen! However, the only solution anyone can come up with is to
  22. write a suid root program to change the ownership each time the modem
  23. is accessed - this is only acceptiable if it is the only reasonable way,
  24. (the other solution is a root cron job that changes the port - kludge!).
  25.  
  26. Is there a way to tell AIX that we have a special owner for this port?
  27.  
  28. Please respond by email.
  29.  
  30. -- 
  31. -------------------------------------------------------------
  32. Jay @ SAC-UNIX, Sacramento, Ca.   UUCP=...pacbell!sactoh0!jak
  33. If something is worth doing, it's worth doing correctly.
  34.