kgrantptySection: KDE Library Bin (7)
Updated: May 16, 2006
Index Return to Main Contents
NAMEkgrantpty - konsole uses this to securely open a slave pty
kgrantpty [OPTION] [FILE]
DESCRIPTIONkgrantpty is only intended to be used internally by konsole to open a slave pty securely. It performs a setuid chmod and chown on the slave pty device. Eavesdropping is prevented with the usage of a file handle as an argument. KPty automatically calls this tool, and it is not intended to be called from the command line.
- --grant grant secure setuid root chmod and chown to the file descriptor
- --revoke revoke the secure setuid root chmod and chown from the file descriptor
SECURITYkgrantpty must be used as setuid root.
SEE ALSOttyname(3), forkpty(3), tty(4), pty(7)
AUTHORManpage written by Rodrigo Rubira Branco <[email protected]>
This document was created by man2html, using the manual pages.
Time: 05:34:15 GMT, December 24, 2015