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

Strange issue: sudo: effective uid is not 0, is sudo installed setuid root?
Thank you for your donation

Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Threaded Mode | Linear Mode
Strange issue: sudo: effective uid is not 0, is sudo installed setuid root?
20th Dec, 2013, 01:08 AM
Post: #9
Xenon Offline
Registered
Posts: 20
Joined: Dec 2013
Reputation: 2
RE: Strange issue: sudo: effective uid is not 0, is sudo installed setuid root?
(2nd Dec, 2013 08:12 PM)mk01 Wrote:  @d4m4s74

technically auto update process runs the same way as manually started with apt upgrade. hard to guess what was the ugly enemy causing this but definitely your file/folder owner ship was changed to xbian - binaries like su, sudo and other low level system utilities have suid bit set to 1 and are (normally owned by root) - so the process can become owned by root regardless of ID of owner of starting process.

and because xbian's ownership sudo complained about not having effective id 0. I will recheck package's scripts for any ugly stupid thing with using chown incorrectly. everything is possible. if you wan't help investigating maybe, those packages are -xbmc, -config-shell, -config-xbmc, -tvheadend. should be all.

if you hit on this again, let me know. can we exclude any stupid typo like this with chown on your side? (just asking, will check our debs for sure in any case).

Hi mk01,
I have the same issue explained in this topic at the moment
I have it twice in 2 weeks, this is the second time actually.
Last week I rebuild the system from fresh image, but I'm worried why it happens again in the same way.
I've connected USB media NTFS which I'm going to replace with new extFat, do you think it should solve this strange issue?
Honestly I'd like to solve the issue, do you think there is something should I do?

I don't know if can be useful but this is "mount" output:

Code:
/dev/mmcblk0p2 on / type btrfs (rw,noatime,compress=lzo,ssd,space_cache,autodefrag)
devtmpfs on /dev type devtmpfs (rw,relatime,size=191796k,nr_inodes=47949,mode=755)
none on /dev/pts type devpts (rw,nosuid,noexec,relatime,mode=600)
none on /proc type proc (rw,nosuid,nodev,noexec,relatime)
none on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
none on /run type tmpfs (rw,nosuid,nodev,noexec,noatime,size=38376k)
/dev/mmcblk0p1 on /boot type vfat (rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,​errors=remount-ro)
/dev/mmcblk0p2 on /home type btrfs (rw,noatime,compress=lzo,ssd,space_cache,autodefrag)
/dev/mmcblk0p2 on /lib/modules type btrfs (rw,noatime,compress=lzo,ssd,space_cache,autodefrag)
/dev/mmcblk0p2 on /xbmc-backup type btrfs (rw,noatime,compress=lzo,ssd,space_cache,autodefrag)

Thank you for the help
Find all posts by this user
Quote this message in a reply
« Next Oldest | Next Newest »
Post Reply 


Messages In This Thread
Strange issue: sudo: effective uid is not 0, is sudo installed setuid root? - d4m4s74 - 2nd Dec, 2013, 08:10 AM
RE: Strange issue: sudo: effective uid is not 0, is sudo installed setuid root? - d4m4s74 - 2nd Dec, 2013, 07:25 PM
RE: Strange issue: sudo: effective uid is not 0, is sudo installed setuid root? - mk01 - 2nd Dec, 2013, 08:12 PM
RE: Strange issue: sudo: effective uid is not 0, is sudo installed setuid root? - Xenon - 20th Dec, 2013 01:08 AM
RE: Strange issue: sudo: effective uid is not 0, is sudo installed setuid root? - d4m4s74 - 3rd Dec, 2013, 12:31 AM
RE: Strange issue: sudo: effective uid is not 0, is sudo installed setuid root? - mk01 - 3rd Dec, 2013, 01:27 AM
RE: Strange issue: sudo: effective uid is not 0, is sudo installed setuid root? - d4m4s74 - 3rd Dec, 2013, 01:42 AM
RE: Strange issue: sudo: effective uid is not 0, is sudo installed setuid root? - mk01 - 3rd Dec, 2013, 01:59 AM
RE: Strange issue: sudo: effective uid is not 0, is sudo installed setuid root? - d4m4s74 - 3rd Dec, 2013, 07:29 AM
Strange issue: sudo: effective uid is not 0, is sudo installed setuid root? - mk01 - 21st Dec, 2013, 04:00 AM
RE: Strange issue: sudo: effective uid is not 0, is sudo installed setuid root? - Xenon - 21st Dec, 2013, 06:11 AM
RE: Strange issue: sudo: effective uid is not 0, is sudo installed setuid root? - mk01 - 21st Dec, 2013, 06:17 AM
RE: Strange issue: sudo: effective uid is not 0, is sudo installed setuid root? - Xenon - 21st Dec, 2013, 06:45 AM
RE: Strange issue: sudo: effective uid is not 0, is sudo installed setuid root? - mk01 - 21st Dec, 2013, 07:11 AM
RE: Strange issue: sudo: effective uid is not 0, is sudo installed setuid root? - Xenon - 21st Dec, 2013, 08:16 AM
RE: Strange issue: sudo: effective uid is not 0, is sudo installed setuid root? - Xenon - 21st Dec, 2013, 04:59 PM
RE: Strange issue: sudo: effective uid is not 0, is sudo installed setuid root? - mk01 - 21st Dec, 2013, 08:50 AM
RE: Strange issue: sudo: effective uid is not 0, is sudo installed setuid root? - mk01 - 21st Dec, 2013, 05:19 PM
RE: Strange issue: sudo: effective uid is not 0, is sudo installed setuid root? - Xenon - 21st Dec, 2013, 11:29 PM
RE: Strange issue: sudo: effective uid is not 0, is sudo installed setuid root? - mk01 - 22nd Dec, 2013, 12:03 AM
RE: Strange issue: sudo: effective uid is not 0, is sudo installed setuid root? - Xenon - 22nd Dec, 2013, 02:44 AM
RE: Strange issue: sudo: effective uid is not 0, is sudo installed setuid root? - mk01 - 22nd Dec, 2013, 02:54 AM
RE: Strange issue: sudo: effective uid is not 0, is sudo installed setuid root? - rbellamy - 22nd Dec, 2013, 05:29 AM
RE: Strange issue: sudo: effective uid is not 0, is sudo installed setuid root? - mk01 - 22nd Dec, 2013, 05:44 AM
RE: Strange issue: sudo: effective uid is not 0, is sudo installed setuid root? - rbellamy - 22nd Dec, 2013, 09:12 AM
RE: Strange issue: sudo: effective uid is not 0, is sudo installed setuid root? - mk01 - 22nd Dec, 2013, 10:06 AM
RE: Strange issue: sudo: effective uid is not 0, is sudo installed setuid root? - rbellamy - 22nd Dec, 2013, 10:12 AM
RE: Strange issue: sudo: effective uid is not 0, is sudo installed setuid root? - mk01 - 22nd Dec, 2013, 11:22 AM
RE: Strange issue: sudo: effective uid is not 0, is sudo installed setuid root? - rbellamy - 22nd Dec, 2013, 12:02 PM
RE: Strange issue: sudo: effective uid is not 0, is sudo installed setuid root? - mk01 - 22nd Dec, 2013, 12:26 PM
RE: Strange issue: sudo: effective uid is not 0, is sudo installed setuid root? - rbellamy - 23rd Dec, 2013, 08:21 AM
RE: Strange issue: sudo: effective uid is not 0, is sudo installed setuid root? - Xenon - 23rd Dec, 2013, 05:21 PM
RE: Strange issue: sudo: effective uid is not 0, is sudo installed setuid root? - Xenon - 24th Dec, 2013, 06:57 PM
RE: Strange issue: sudo: effective uid is not 0, is sudo installed setuid root? - dgarciam - 8th Sep, 2016, 01:18 AM
RE: Strange issue: sudo: effective uid is not 0, is sudo installed setuid root? - Nachteule - 8th Sep, 2016, 02:57 AM
RE: Strange issue: sudo: effective uid is not 0, is sudo installed setuid root? - Skywatch - 8th Sep, 2016, 02:57 AM
RE: Strange issue: sudo: effective uid is not 0, is sudo installed setuid root? - dgarciam - 8th Sep, 2016, 06:05 AM
RE: Strange issue: sudo: effective uid is not 0, is sudo installed setuid root? - Nachteule - 8th Sep, 2016, 07:32 PM
RE: Strange issue: sudo: effective uid is not 0, is sudo installed setuid root? - dgarciam - 8th Sep, 2016, 11:00 PM

Possibly Related Threads...
Thread: Author Replies Views: Last Post
  Kodi won't start after sudo apt-get upgrade update karanda 3 14,710 21st Nov, 2015 10:16 PM
Last Post: karanda
Bug sudo: effective uid is not 0 - returns after fix rbellamy 9 24,526 22nd Dec, 2013 04:34 AM
Last Post: mk01

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

Current time: 12th Aug, 2025, 01:56 AM Powered By MyBB, © 2002-2025 MyBB Group.