Menu Close
    Hire Us Request Quote Reading List Switch to Dark Mode

    sudo su: results -effective uid is not 0 is sudo installed setuid root

    This another common problem for the new users for Linux. Anonymous change of permission of root or while experimenting we do run commands which results into some unexpected results.

    we can observe this output while doing sudo su in linux mainly in ubuntu.

    The solution lies in changing the permisions

    Method 1: While booting hold on shift and from the recovery menu drop to the root shell and run the following commands

    chown -R root:root /usr/bin/sudo

    mount -ro remount,rw /

    mount -ro remount,ro /

    basically we are changing the owner and remounting to fix this error.

    If this doesn,t work do opt the next method

    Method 2 :pkexec chown root:root /usr/bin/sudo

    pkexec chmod 4755 /usr/bin/sudo

    and boot normally.

    This will get you out of the effective uid error.


    . . .


    Add Your Comment

    Be the first to comment.

    Back to Top
    Hire Us!
    Brief us about your requirements and we'll get back to you.
    Woo! Hooy!
    We have just recieved your project brief and our expert will contact you shortly.
    Send Again