hmm, in what way do you believe /dev/tty would
or could compromise security?

otherwise:

[V] mknod /dev/tty c 5 0

will do nicely

i have a similar doubt but related with pty and devfs, .i.e. /dev/pts/n is created by devfs just when needed, how does it works using contexts?


mount --bind /dev/pts /vservers/this/dev/pts
mount --bind /dev/pts /vservers/that/dev/pts

or

mount -t devpts /vserver/this/dev/pts none
mount -t devpts /vserver/that/dev/pts none

or

some other way?

/dev/pts/1 of 'this' will be the same /dev/pts/1 of 'that'? will be different?

do i need mknod capability on those contexts to allow the daemons to create pts?

any security problem?

Alejandro Mery




Reply via email to