Skip to content

Allow running as regular user by invoking sudo when required #301

Description

@yermulnik

I couldn't find any related issue, so apologies if this already had been discussed/explained.
I'm running dra as a regular user (shall we say, to follow best security practices), but I'd like to utilize its capability to install downloaded asset w/o a need to separately run package manager with root privileges.

> dra download --install org_name/util_name
Release tag is v3.2.0
✔ Pick the asset to download · util_name_3.2.0_amd64.deb
Saved to: /tmp/dra-27183312ec7b4b51851513bbbaf22f01
An error occurred while executing (status: 2):
  dpkg: error: requested operation requires superuser privilege

It would be beneficial if dra invoked sudo and asked the user to input password.
Does that make any sense though?

Thanks for the great tool!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions