From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,3f646708ff7b2e92,start X-Google-Attributes: gidfee84,public From: hugh@du.edu (hugh arnold) Subject: /dev/pts? Date: 1996/01/10 Message-ID: <4d1e5f$t34@hermes.cair.du.edu>#1/1 X-Deja-AN: 134773935 content-type: text/plain; charset=US-ASCII organization: University of Denver mime-version: 1.0 newsgroups: comp.unix.osf.osf1 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