[Solved] user is not allowed to execute as root
|
25th Jul, 2013, 03:10 AM
Post: #1
|
|||
|
|||
[Solved] user is not allowed to execute as root
o/
Not sure where to put this so I put it in Installation. 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: xbian@Link ~ $ sudo apt-get update Now any command with sudo will return a similar error. Even sudo reboot. 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. |
|||
« Next Oldest | Next Newest »
|