Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: hugh@du.edu (hugh arnold)
Subject: /dev/pts?
Date: 1996/01/10	[thread overview]
Message-ID: <4d1e5f$t34@hermes.cair.du.edu> (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




                 reply	other threads:[~1996-01-10  5:00 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

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