1kgrantpty(7)                    KDE Library Bin                   kgrantpty(7)
2
3
4

NAME

6       kgrantpty - konsole uses this to securely open a slave pty
7

SYNOPSIS

9       kgrantpty [OPTION] [FILE]
10

DESCRIPTION

12       kgrantpty  is  only intended to be used internally by konsole to open a
13       slave pty securely.  It performs a setuid chmod and chown on the  slave
14       pty device.  Eavesdropping is prevented with the usage of a file handle
15       as an argument. KPty automatically calls  this  tool,  and  it  is  not
16       intended to be called from the command line.
17

OPTIONS

19       --grant
20              grant secure setuid root chmod and chown to the file descriptor
21
22       --revoke
23              revoke  the  secure  setuid  root  chmod and chown from the file
24              descriptor
25

SECURITY

27       kgrantpty must be used as setuid root.
28

SEE ALSO

30       ttyname(3), forkpty(3), tty(4), pty(7)
31

AUTHOR

33       Manpage written by Rodrigo Rubira Branco <rrbranco@br.ibm.com>
34
35
36
37KDE Library                      May 16, 2006                     kgrantpty(7)
Impressum