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