Forum
  • Search
  • Member List
  • Calendar
Hello There, Guest! Login Register — Login with Facebook

[Solved] user is not allowed to execute as root
Thank you for your donation

Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Threaded Mode | Linear Mode
[Solved] user is not allowed to execute as root
25th Jul, 2013, 03:10 AM
Post: #1
ah0b0 Offline
Registered
Posts: 6
Joined: Jul 2013
Reputation: 0
[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
[sudo] password for xbian:
Sorry, user xbian is not allowed to execute '/usr/bin/apt-get update' as root on Link.
xbian@Link ~ $

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.
Find all posts by this user
Quote this message in a reply
« Next Oldest | Next Newest »
Post Reply 


Messages In This Thread
[Solved] user is not allowed to execute as root - ah0b0 - 25th Jul, 2013 03:10 AM
RE: user is not allowed to execute as root - IriDium - 25th Jul, 2013, 03:32 AM
RE: user is not allowed to execute as root - ah0b0 - 25th Jul, 2013, 04:48 AM
Re: user is not allowed to execute as root - rikardo1979 - 25th Jul, 2013, 05:07 AM
Re: RE: user is not allowed to execute as root - f1vefour - 25th Jul, 2013, 08:18 AM
RE: user is not allowed to execute as root - ah0b0 - 25th Jul, 2013, 02:05 PM
Re: user is not allowed to execute as root - f1vefour - 25th Jul, 2013, 02:19 PM
Solved : user is not allowed to execute as root - ah0b0 - 25th Jul, 2013, 11:17 PM
RE: user is not allowed to execute as root - rikardo1979 - 25th Jul, 2013, 11:36 PM
RE: user is not allowed to execute as root - IriDium - 26th Jul, 2013, 01:45 AM
Re: RE: user is not allowed to execute as root - f1vefour - 26th Jul, 2013, 01:57 AM
RE: user is not allowed to execute as root - IriDium - 26th Jul, 2013, 02:32 AM
Re: user is not allowed to execute as root - f1vefour - 26th Jul, 2013, 03:00 AM
RE: user is not allowed to execute as root - ah0b0 - 26th Jul, 2013, 03:14 AM
RE: user is not allowed to execute as root - ah0b0 - 26th Jul, 2013, 04:25 AM
RE: user is not allowed to execute as root - rikardo1979 - 26th Jul, 2013, 06:11 AM

  • View a Printable Version
  • Send this Thread to a Friend
  • Subscribe to this thread
Forum Jump:

Current time: 26th Mar, 2023, 06:45 AM Powered By MyBB, © 2002-2023 MyBB Group.