Skip to content

run0edit doesn't retain authorization in shell session #91

Description

@smlx

With the latest release of polkit, run0 has a feature similar to sudo where privilege is retained in the same terminal session for 5 minutes.

This does not work for run0edit, and based on the discussion in polkit-org/polkit#533 I think this is intentional. I suspect either the subshell restriction will have to be relaxed, otherwise run0edit with privesc retention cannot be implemented in a script and will have to be implemented directly in run0 (e.g. as a run0 -e flag) so the direct parent process is the controlling terminal.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions