# adb shell connects to root instead of shell

Source: https://forum.modalai.com/topic/2475/adb-shell-connects-to-root-instead-of-shell
Category: General Questions (https://forum.modalai.com/category/2/general-questions)
Posted: 2023-07-24 15:16:03 UTC by tanguy sagere
Replies: 3 · Views: 859

## tanguy sagere · 2023-07-24 15:16:03 UTC

Hi!

I have a sentinel with a voxl2 that had been working fine since it was recently delivered. However, after connecting the voxl to my wifi and ssh'ing to it, whenever doing "adb shell" I am brought to "root@m0054" (adb root) rather than "voxl2: $" (adb shell). 

Assistance would be welcome!

Best, 

Tanguy

## Reply by Eric Katzfey (ModalAI staff) · 2023-07-24 15:24:23 UTC

@tanguy-sagere Is the different prompt causing a problem?

## Reply by tanguy sagere · 2023-07-24 15:31:59 UTC (in reply to Eric Katzfey)

@Eric-Katzfey Hi, well now the voxl2 doesnt even show up on adb devices anymore (so I cant adb shell). However, I'm still able to connect over wifi (softap), so the voxl is working ... I've tried multiple usb cables too. After resetting the .bashrc to the default, I'am able to access shell via ssh however (as im still able to connect over wifi). the adb issue is persistent over multiple computers too

## Reply by tanguy sagere · 2023-07-24 16:22:47 UTC (in reply to tanguy sagere)

@tanguy-sagere nvm was a permission issue, thanks!
