Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* /dev/pts?
@ 1996-01-10  5:00 hugh arnold
  0 siblings, 0 replies; only message in thread
From: hugh arnold @ 1996-01-10  5:00 UTC (permalink / raw)


I am confused about the relation between tty's, pty's, and pts/[0-9]{1,3}.

I can associate a user with a character device /dev/tty??.  A user is going
through the tty if they own it.

I have a series of /dev/pty's, which seem to be unused, they are owned
by root/system and are world read/writeable.  As I understand it, pty's give
the illusion of a tty while really being controlled by a program at the other
end.

In /dev/pts/ there is a numbered series of files.  These are all owned by
root.  However, many of them have the same restricted permissions I see
on a /dev/tty* when a user owns it.  The ones which I think are owned, are
owned by root/tty, while those with open permissions are owned by root/system and
have open permissions.  What are these pts devices for?

This was all brought up when I noticed no more than 64 users can log on to the
system before I received notices about the Password database being inaccessible
from this terminal.  When this happens, I noticed that all the /dev/pts/* files
are root/tty owned and have restricted permissions.


The kernel config maxuser variable is 256.  This is OSF/1 3.0+patches.
I have 99 tty's, 101 pts's and 96 pty's.  What is wrong?


						Thank you,

						Hugh Arnold.
						hugh@du.edu




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1996-01-10  5:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-01-10  5:00 /dev/pts? hugh arnold

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox