GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Commands that need sudo access break the UI and make the agent hang · Issue #1852 · anomalyco/opencode

Commands that need sudo access break the UI and make the agent hang #1852

New issue
Copy link
New issue
Copy link
Closed
Closed
Commands that need sudo access break the UI and make the agent hang#1852
Copy link
Assignees
thdxr

Description

@arthur404dev
arthur404dev
opened on Aug 12, 2025
Issue body actions

Tool uses that need sudo access end up not receiving the input and break the UI / hang the process.

Image
Reacted by Pedro Macedo, John Bakhmat, CodingPassionYT, Chay, Jean Diaz, Logan Bunch, Denis Perov, DDKP, Lucas Bezerra, Adithya Kozham Burath Bijoy and 1 more

Activity

  1. CodingPassionYT commented on Aug 12, 2025

    @CodingPassionYT
    CodingPassionYT
    on Aug 12, 2025
    More actions

    Same here

  2. thdxr
    self-assigned this
    on Aug 12, 2025
  3. FringeDweller commented on Aug 13, 2025

    @FringeDweller
    FringeDweller
    on Aug 13, 2025
    More actions

    Same here, Debian / Kitty

  4. rekram1-node
    marked User prompt for Interactive Commands #2268 as a duplicate of this issue on Aug 26, 2025
  5. samholmes commented on Aug 26, 2025

    @samholmes
    samholmes
    on Aug 26, 2025
    More actions

    #2268 (comment)

    If git rebase -i is run by the agent, then the command is run interactively and halts the agent. How about we allow the user to focus into commands and interact with them? This way an interactive command can be intervened by the proompter.

    Eventually, opencode could just give the agent tools to interact with CLI that was run, but for now this could be useful until that tool is ship to prod and we inch further to AGI and cool coconuts on the beach.

  6. rekram1-node
    marked When running interactive shell command via tool, the command output is stuck in t he opencode text input field #2373 as a duplicate of this issue on Sep 2, 2025
  7. rekram1-node
    marked Terminal gets currupted when prompted for SSH key #3027 as a duplicate of this issue on Oct 8, 2025
  8. rekram1-node commented on Dec 28, 2025

    @rekram1-node
    rekram1-node
    on Dec 28, 2025
    Member
    More actions

    [automated] Closing due to 90+ days of inactivity. Feel free to reopen if you still need this!

  9. rekram1-node
    closed this as completedon Dec 28, 2025
  10. ParticleRift commented on Jan 13, 2026

    @ParticleRift
    ParticleRift
    on Jan 13, 2026
    More actions

    Tool uses that need sudo access end up not receiving the input and break the UI / hang the process.
    Image

    easy fix, just tell the agent your sudo password in your prompt

    Reacted by SchneeHertz, Adithya Kozham Burath Bijoy, Emmanuel Morales, Benjamin Sølberg and Kusal Lamsal
    Reacted by Minhal Valiya Peedikakkal
  11. kylegrieder commented on Mar 23, 2026

    @kylegrieder
    kylegrieder
    on Mar 23, 2026
    More actions

    Tool uses that need sudo access end up not receiving the input and break the UI / hang the process.

    easy fix, just tell the agent your sudo password in your prompt

    i really hope this is sarcasm

  12. ParticleRift commented on Apr 11, 2026

    @ParticleRift
    ParticleRift
    on Apr 11, 2026
    More actions

    Why would it be? if you are using your main machine and don't want a company to have the password you can just change the password temporarily, other than that their is no reason not to

  13. adikpb commented on Apr 11, 2026

    @adikpb
    adikpb
    on Apr 11, 2026
    More actions

    Why would it be? if you are using your main machine and don't want a company to have the password you can just change the password temporarily, other than that their is no reason not to

    Changing your password every single time sudo access is required, doesn't feel like good ux.

    Reacted by Seyed Mohammad
  14. ParticleRift commented on Apr 11, 2026

    @ParticleRift
    ParticleRift
    on Apr 11, 2026
    More actions

    Local models like gemma4 and qwen3.5 are good enouph nowadays they can handle stuff you need to keep private

  15. adikpb commented on Apr 11, 2026

    @adikpb
    adikpb
    on Apr 11, 2026
    More actions

    Local models like gemma4 and qwen3.5 are good enouph nowadays they can handle stuff you need to keep private

    Opencode isn't just used for local models, the whole point of this tool is to use mostly any llm provider.

  16. Acters commented on Apr 14, 2026

    @Acters
    Acters
    on Apr 14, 2026
    More actions

    Seriously, how hard is it to do the same thing that Gemini CLI has with pressing TAB for interacting with the shell command.

    Reacted by xmmanuellx and rauldzmartin
  17. MegaDyneSystems commented on Jun 17, 2026

    @MegaDyneSystems
    MegaDyneSystems
    on Jun 17, 2026
    More actions

    issue fixed, at install you set your password and the agent will pipe the password to sudo commands without seeing it so you don't share sudo password to cloud models but still get to run sudo commands https://github.com/MegaDyneSystems/prism32

  18. tmzhuang commented on Nov 1, 2026

    @tmzhuang
    tmzhuang
    on Nov 1, 2026
    More actions

    Why was this issue closed?

  19. Acters commented on Nov 1, 2026

    @Acters
    Acters
    on Nov 1, 2026
    More actions

    I have since moved to telling the agent to use pkexec. Having a fido2 key is nice here cause you can tap to auth instead of trying to type the password as fast as possible every single time authentication is needed and pkexec doesn't retain root privileges after the command is ran. Good for security while still being able to do root level work with an agent.

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

Metadata

Metadata

Assignees

  • @thdxr
    thdxr

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402775 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.