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

sudo: effective uid is not 0 - returns after fix
Thank you for your donation

Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Threaded Mode | Linear Mode
sudo: effective uid is not 0 - returns after fix
22nd Dec, 2013, 04:06 AM
Post: #7
rbellamy Offline
Registered
Posts: 21
Joined: May 2013
Reputation: 2
RE: sudo: effective uid is not 0 - returns after fix
And here it is:

Code:
root@lamassu ~ # cat /tmp/pstree.log
init(1)-+-avahi-daemon(508)---avahi-daemon(514)
        |-cron(807)
        |-dbus-daemon(431)
        |-getty(667)
        |-getty(679)
        |-inetd(707)
        |-lircd(587)
        |-nmbd(888)
        |-python(860)
        |-rc(1178)---S01headphones(1256)---chown(1294)---pstree(1295)
        |-rpcbind(430)
        |-sh(793)-+-btrfs-auto-snap(810)---btrfs(1201)
        |         `-grep(811)
        |-sh(1024)---ntpd(1074)
        |-transmission-da(915)-+-{transmission-da}(985)
        |                      `-{transmission-da}(990)
        |-udevd(202)-+-udevd(934)
        |            |-udevd(938)
        |            |-udevd(1053)
        |            |-udevd(1086)
        |            |-udevd(1087)
        |            |-udevd(1088)
        |            |-udevd(1090)
        |            |-udevd(1104)
        |            |-udevd(1108)
        |            |-udevd(1136)
        |            |-udevd(1138)
        |            |-udevd(1145)
        |            |-udevd(1197)
        |            |-udevd(1214)
        |            |-udevd(1226)
        |            `-udevd(1230)
        `-upstart-udev-br(196)

And from your pm request:

Code:
root@lamassu ~ # grep -inr chown /etc
/etc/init/dbus.conf:19:    chown messagebus:messagebus /var/run/dbus
/etc/init/zram-swap.conf:107:                chown -Rc xbian:xbian "/home/xbian/.xbmc/temp"
/etc/init/zram-swap.conf:132:            mkdir /home/xbian/.xbmc/temp.new; chown xbian:xbian /home/xbian/.xbmc/temp.new
/etc/dhcp/dhclient-exit-hooks.d/ntp:31:    chown --reference=$NTP_CONF $tmp
/etc/insserv/overrides/sysklogd:63:    chown ${USER}:adm /dev/xconsole
/etc/insserv/overrides/sysklogd:72:        chown ${USER}:adm $l
/etc/cron.weekly/man-db:20:    chown man:root /var/cache/man || true
/etc/init.d/screen-cleanup:29:        chown root:utmp $SCREENDIR
/etc/init.d/klogd:35:    chown klog:klog /var/run/klogd
/etc/init.d/klogd:37:    chown klog:klog $kmsgpipe
/etc/init.d/sysklogd:63:    chown ${USER}:adm /dev/xconsole
/etc/init.d/sysklogd:72:        chown ${USER}:adm $l
/etc/init.d/headphones:16:## sudo chown headphones:nogroup -R /opt/headphones
/etc/init.d/headphones:136:    [ -d $PID_PATH ] || mkdir -p $PID_PATH && chown -R $RUN_AS $PID_PATH > /dev/null || {
/etc/init.d/headphones:150:    [ -d $DATA_DIR ] || mkdir -p $DATA_DIR && chown -R $RUN_AS $DATA_DIR > /dev/null || {
/etc/init.d/headphones:156:    chown -R $RUN_AS $APP_PATH > /dev/null || {
/etc/init.d/iguanaIR:112:        chown iguanair:iguanair $LOGFILE
/etc/security/namespace.init:17:                chown -R "$user":"$gid" "$homedir"
/etc/cron.daily/man-db:20:    chown man:root /var/cache/man || true
/etc/cron.daily/man-db:28:    find /var/cache/man ! -user man -print0 | xargs -r0 chown man || true
/etc/init.d.save/screen-cleanup:29:        chown root:utmp $SCREENDIR
/etc/init.d.save/dbus:49:    chown $DAEMONUSER $PIDDIR
/etc/init.d.save/klogd:35:    chown klog:klog /var/run/klogd
/etc/init.d.save/klogd:37:    chown klog:klog $kmsgpipe
/etc/init.d.save/sysklogd:63:    chown ${USER}:adm /dev/xconsole
/etc/init.d.save/sysklogd:72:        chown ${USER}:adm $l
/etc/init.d.save/iguanaIR:112:        chown iguanair:iguanair $LOGFILE
/etc/init.d.save/headphones:16:## sudo chown headphones:nogroup -R /opt/headphones
/etc/init.d.save/headphones:136:    [ -d $PID_PATH ] || mkdir -p $PID_PATH && chown -R $RUN_AS $PID_PATH > /dev/null || {
/etc/init.d.save/headphones:150:    [ -d $DATA_DIR ] || mkdir -p $DATA_DIR && chown -R $RUN_AS $DATA_DIR > /dev/null || {
/etc/init.d.save/headphones:156:    chown -R $RUN_AS $APP_PATH > /dev/null || {
/etc/xbian-udhcpc/dhclient-script-xbian:55:        chown --reference=/etc/resolv.conf $new_resolv_conf
/etc/xbian-udhcpc/dhclient-script-xbian:80:        chown --reference=/etc/resolv.conf $new_resolv_conf
Find all posts by this user
Quote this message in a reply
« Next Oldest | Next Newest »
Post Reply 


Messages In This Thread
sudo: effective uid is not 0 - returns after fix - rbellamy - 22nd Dec, 2013, 02:22 AM
RE: sudo: effective uid is not 0 - returns after fix - mk01 - 22nd Dec, 2013, 02:41 AM
RE: sudo: effective uid is not 0 - returns after fix - rbellamy - 22nd Dec, 2013, 03:02 AM
RE: sudo: effective uid is not 0 - returns after fix - mk01 - 22nd Dec, 2013, 03:38 AM
RE: sudo: effective uid is not 0 - returns after fix - rbellamy - 22nd Dec, 2013, 04:00 AM
RE: sudo: effective uid is not 0 - returns after fix - mk01 - 22nd Dec, 2013, 04:01 AM
RE: sudo: effective uid is not 0 - returns after fix - rbellamy - 22nd Dec, 2013 04:06 AM
RE: sudo: effective uid is not 0 - returns after fix - mk01 - 22nd Dec, 2013, 04:08 AM
RE: sudo: effective uid is not 0 - returns after fix - rbellamy - 22nd Dec, 2013, 04:28 AM
RE: sudo: effective uid is not 0 - returns after fix - mk01 - 22nd Dec, 2013, 04:34 AM

Possibly Related Threads...
Thread: Author Replies Views: Last Post
  Strange issue: sudo: effective uid is not 0, is sudo installed setuid root? d4m4s74 38 120,686 8th Sep, 2016 11:00 PM
Last Post: dgarciam

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

Current time: 25th May, 2025, 09:02 PM Powered By MyBB, © 2002-2025 MyBB Group.