🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.sys.sgi.admin
2 messages
2 total messages Started by Robert Duff Fri, 08 Jan 1993 21:43
Problem with Pseudo-Terminals on SGI Indigo...
#123
Author: Robert Duff
Date: Fri, 08 Jan 1993 21:43
17 lines
1331 bytes
We have an Indigo XS24 running IRIX 4.0.5F.

Several programmers are writting applications that use /dev/ttyq*
devices for pseudo terminals.  The problem is that whenever a ttyq* is
opened, the ownership of the device is changed to that user.
Afterward, no one else has permission to use that ttyq*.  Is there
anyway I can make these pseudo terminals usable by users yet not
allowing the change in ownership?

Thanks,
--
===============================================================================
Robert Duff              | "Let him who boasts boast of this, that he under-
Automation and Robotics  | stands and knows me, that I am the Lord who exer-
Research Institute - UTA | cises kindness, justice, and righteousness on earth,
rduff@arri.uta.edu       | for I delight in these things." Jeremiah 9:24
Re: Problem with Pseudo-Terminals on SGI Indigo...
#124
Author: Vernon Schryver
Date: Fri, 08 Jan 1993 23:57
22 lines
1270 bytes
In article <RDUFF.93Jan8154350@arrirs04.uta.edu>, rduff@arrirs04.uta.edu (Robert Duff) writes:
> 
> We have an Indigo XS24 running IRIX 4.0.5F.
> 
> Several programmers are writting applications that use /dev/ttyq*
> devices for pseudo terminals.  The problem is that whenever a ttyq* is
> opened, the ownership of the device is changed to that user.
> Afterward, no one else has permission to use that ttyq*.  Is there
> anyway I can make these pseudo terminals usable by users yet not
> allowing the change in ownership?


Tell them to read `man getpty`.  It is intended to solve exactly such
problems without opening security holes.


By the way, the "Distribution: comp" line in your article probably
significantly reduced the number of people who saw it, and so
reduced the number of people who might answer the question.


Vernon Schryver,  vjs@sgi.com
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads