Strange issue: sudo: effective uid is not 0, is sudo installed setuid root?
|
2nd Dec, 2013, 08:10 AM
Post: #1
|
|||
|
|||
Strange issue: sudo: effective uid is not 0, is sudo installed setuid root?
After borking my installation by trying to update xbian to beta 2 I did a fresh install to my SD card. In the installation wizard I set updating to automatic, installed the download package, and kept the rest default.
Over the course of an hour or so I set up everything the way I want it, and logged in through SSH. When closing the default xbian-config it told me xbian needed to be rebooted. After doing that and booting again instead of the default notification I got Code: sudo: effective uid is not 0, is sudo installed setuid root? I think it has something to do with enabling automatic updating, but I'm not completely sure. After some searching around I figured out root lost uid0, effectively making it a normal user, as demonstrated by any LS command, for example ls /usr/bin/sudo gives me Code: -rwxr-xr-x 1 xbian root 98712 Mar 3 2013 sudo Since reinstalling xbian won't work, does anyone know how to fix it somehow? edit 1: In the passwd file root is still 0 (root:x:0:0:root:/root:/bin/bash) edit 2: maybe it helps, the only difference I found that might mean something is that before the forced reboot /etc/fstab didn't have a line for /, but after it does. Unfortionally I've already reinstalled xbian so I am unable to check what removing that line does |
|||
« Next Oldest | Next Newest »
|
Possibly Related Threads... | |||||
Thread: | Author | Replies | Views: | Last Post | |
Kodi won't start after sudo apt-get upgrade update | karanda | 3 | 13,509 |
21st Nov, 2015 10:16 PM Last Post: karanda |
|
sudo: effective uid is not 0 - returns after fix | rbellamy | 9 | 22,738 |
22nd Dec, 2013 04:34 AM Last Post: mk01 |