Manual Reference Pages  - kgrantpty (7)

NAME

kgrantpty - konsole uses this to securely open a slave pty

CONTENTS

Synopsis
Description
Options
Security
See Also
Author

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@br.ibm.com>
Jump to page    or go to Top of page |  Section 7 |  Main Index.


KDE Library kgrantpty (7) May 16, 2006
Generated by manServer 1.07 from /usr/share/man/man7/kgrantpty.7.gz using man macros.