binpash / binpash/try

Improve `sudo try` support

Open
#223 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Shell
Stars
5.5k
Forks
81
Avg merge
1m
Merged PRs (30d)
1

Description

We have not focused on how `try` works when run as root, but it could be a very useful way to use `try`.

# Use cases

- `sudo try apt ...`
- `sudo try modify_etc_files_and_run_a_test`
- `sudo try write_to_sysfs_or_call_sysctl_and_run_a_test` this one may not work

# Work

- Write unit tests for what we'd like to be able to do as root, expected behaviors
- Get those tests to work 😅

Contributor guide

No contributing guide indexed for this repository

Research direction

No files or tests are named. Start by locating the command entry point and existing unit tests for sudo or root execution, then define expected behavior for the listed apt, filesystem, test-running, sysfs, and sysctl cases. Done means the agreed root-use cases are covered by tests and the implementation passes them.

Written by the indexing model from the issue text.

Assessment

Tech stack
shell
Domain
cli, security
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.