Skip to content

Running as root #1269

@ktnlvr

Description

@ktnlvr

This is an attempt at reviving #488, #603, #646 and #872: Running and debugging as the root user.

From what I gathered there is a lot of busywork here already, so I volunteer to implement it myself. Mostly asking permission and hoping to show that it is actually necessary.

It seems like an important feature (see this, but to me personally too) and setting up an LLDB server every time is doable, but still an extra step.

I have a strong preference for this extension and would hate to see people go because of such a small inconvenience.

The current implementation idea is searching for local lifter like sudo/doas/rootdo and go using it. Will look for alternatives if that approach doesn't prove viable.

In the userspace an option like "sudo": true to maintain parity with Python's debugging seems sensible.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions