RaphGL / RaphGL/Tuckr

Escalate user privileges for root targeted dotfiles

Open
#73 3 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Rust
Stars
487
Forks
31
PR merge metrics
No merged PRs in 30d

Description

Switching to root by doing sudo changes the assumed path of TUCKR_HOME to /root. So one has to do

TUCKR_HOME=$HOME/.config sudo tuckr a <group>

Tuckr should be able to escalate the user without this. Possibly manually setting and unsetting this variable when it escalates.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at the tuckr a <group> command path and trace how sudo or root escalation changes TUCKR_HOME. Reproduce the /root path behavior with a root-targeted dotfiles group and inspect the current environment handling. Done means the command preserves the invoking user's intended TUCKR_HOME without requiring manual environment assignment.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
cli
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.