Skip to content

how to get rid of pty? #447

@stsp

Description

@stsp

It seems, sudo have switched
to using pty by default. This
breaks old programs that use
console ioctls (VT_xx, KD_xx etc).

How to recover such programs?
I can think of 2 ways:
Either add an option to sudo
to disable pty - that will be
backward-compatible.
Or save the original tty name
to some variable ("SUDO_TTY")
so that the program can at
least find it there and re-open.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions