kgrantpty (7) Linux Manual Page
kgrantpty – konsole uses this to securely open a slave pty
Synopsis
kgrantpty [OPTION] [FILE]
Description
kgrantpty 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.
Options
- –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
Security
kgrantpty must be used as setuid root.
See Also
ttyname(3), forkpty(3), tty(4), pty(7)
Author
Manpage written by Rodrigo Rubira Branco <rrbranco [at] br.ibm.com>
