Re: xterm: no available ptys

From: H. Peter Anvin (hpa@zytor.com)
Date: Mon Nov 06 2000 - 17:04:19 EST


Followup to: <20001106155755.A4096@munchkin.spectacle-pond.org>
By author: Michael Meissner <meissner@spectacle-pond.org>
In newsgroup: linux.dev.kernel
>
> Did you mount /dev/pts, which is usually done with a line in /etc/fstab:
>
> none /dev/pts devpts gid=5,mode=0622 0 0
>

That should be gid=5,mode=0620 unless you *REALLY*, *REALLY* know what
you're doing!!!! Arguably, that should actually be mode=0600, with
user tty's then being required to chmod to 0620 if they want "mesg y"
by default.

(gid 5 being the gid for group "tty".)

        -hpa

-- 
<hpa@transmeta.com> at work, <hpa@zytor.com> in private!
"Unix gives you enough rope to shoot yourself in the foot."
http://www.zytor.com/~hpa/puzzle.txt
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue Nov 07 2000 - 21:00:20 EST