xpost from xbian forum: http://forum.xbian.org/showthread.php?tid=1141
Running Xbian 1 beta 1
Was going fine. Installed samba and some other programs through SSH. I got to a point where I wanted to backup my SD.
At the time I didn't know a way to backup in linux -- so I shutdown properly (sudo shutdown -h now) and once it was done, removed power and removed SD card. Plugged the sd into windows7 box and it pops up to try to "Scan and fix the SD Card" or to continue without scanning. I decided to continue without scanning. Ran a "read" on Win32DiskImager. Backup was complete. Ejected and put in pi -- powered up pi. Now trying to run a simple command : sudo apt-get update
I get this error:
Code: Select all
xbian@Link ~ $ sudo apt-get update [sudo] password for xbian: Sorry, user xbian is not allowed to execute '/usr/bin/apt-get update' as root on Link. xbian@Link ~ $
Now "su" works fine and I opened visudo and everything looks fine.
TL;DR - Was working fine. Shutdown, removed sd card, backed up in win7, put back in pi and booted. Now Sudo won't work.