qwert
1
That is, switching the terminal bash to root works, but it stays stuck at that point and doesn’t automatically execute the next command.
Version: 0.51.1
VSCode Version: 1.96.2
Commit: a9dd46cbd249a30044eaae1526eb6ca1ec2f7560
Date: 2025-05-30T21:43:19.441Z
Electron: 34.5.1
Chromium: 132.0.6834.210
Node.js: 20.19.0
V8: 13.2.152.41-electron.0
OS: Linux x64 5.4.0-192-generic
1 Like
qwert
2
The mode is agent Claude 4 sonnet
qwert
3
There’s no problem with the user terminal admin. Switch to root and it’s stuck.
T1000
4
A thought, could you just sudo the command instead of switching to different user?
Its can be very dangerous to use sudo and switching to root even more so.
Likely the terminal is not the same for the agent.
qwert
5
Yes, I’m using a cloud desktop, which can be restored at any time if something goes wrong, there’s an automatic backup of the 
1 Like