I'm facing a weird problem currently. I've a couple logging units based on Rpi at various places which I normally access via remote SSH to monitor things / update program.
For a particular RPi, I'm not able to run any command with sudo
which I assume that sudo
binary has got corrupted somehow since it's giving me segmentation error
. Now my problem is to run any root level command such as sudo apt-get update && sudo apt-get upgrade
or replacing sudo
binary by dpkg
. I will be needing sudo
.
Now my question is : Is there any alternative of sudo
so that I can get root access and fix this issue ? Please note that I only have remote access to this RPi and hence can't go over there physically to fix this issue or replace this card.