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, 02:05 PM
Post: #6
ah0b0 Offline
Registered
Posts: 6
Joined: Jul 2013
Reputation: 0
RE: user is not allowed to execute as root
Quote:+1

These new issues definitely sound like a power issue.

Check the /etc/sudoers as mentioned.

Unplug the powered hub and all accessories (except keyboard) including the LAN cable and see if your Pi will allow you to run 'sudo ls'.

If no, unplug the keyboard and plug in the LAN cable and try sudo over SSH. If still no sudo, reboot (still no accessories except LAN) and SSH in and try sudo one last time.

It may be a hardware conflict with the keyboard or a button on the keyboard is stuck (flip it over and tap it against something).

Sudoers looks fine. I even copied and pasted it from pastebin. Still same issues. Changed power cable as rikardo1979 said.

Went into root and removed sudo. Rebooted. Installed sudo again. Still same issues.

I even went to the store, returned the Rpi, usb hub and sd card and got new ones and a new usb hub that is on this list: http://elinux.org/RPi_VerifiedPeripherals

Installed a fresh xbian1.1. Was working fine again until I ran dd and tried to backup the sdcard. SSH froze and wouldn't connect. Same with Samba. Though, xbmc on the tv still worked so I rebooted it from there using my keyboard. (The LED on the hdd i was backing up to had stopped blinking for about 20 min.) Now after the reboot, sudo acted up again with the same issue.

Tried shutting down and unplugged everything except ethernet. It just wouldn't load... Added monitor/hdmi and it still wouldn't load... Did the same: hdmi, eth0, and keyboard and it's stuck at the splash screen at "loading..." -- Now, I remembered I have a hdd mounted in fstab. Put a # in front of that line, and then it would finally boot -- but the keyboard won't work... Keyboard #2 doesn't work either. Tried plugging rpi power into usb hub. Still no keyboard(s).

As for: "Unplug the powered hub and all accessories (except keyboard) including the LAN cable and see if your Pi will allow you to run 'sudo ls'." I don't know how to do that: 1) get xbmc to go away to a terminal and 2) get a keyboard to work.

Here is what pulls up for sudo -l
Code:
$ sudo -l
Matching Defaults entries for xbian on this host:
    env_reset, mail_badpass,
    secure_path=/usr/local/sbin\:/usr/local/bin\:/usr/sbin\:/usr/bin\:/sbin\:/bin

User xbian may run the following commands on this host:
    (ALL) NOPASSWD: /usr/local/sbin/xbian-config, (ALL) /sbin/halt, (ALL)
    /sbin/reboot, (ALL) /usr/bin/splash

I'm really at a loss. I'd start a new image but it seems to keep happening anytime I ... blink or whatever.

Things I've ruled out: (please correct me if I'm wrong)
faulty raspberry pi, faulty keyboard, faulty usb hub, sudo installation, sudoers config file.

Any other suggestions? Undecided
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: 24th May, 2025, 05:35 PM Powered By MyBB, © 2002-2025 MyBB Group.