Superuser

14 views
Skip to first unread message

lubec...@gmail.com

unread,
Apr 8, 2020, 12:26:17 PM4/8/20
to BeagleBoard

I would like to be Superuser on my BeagleBone Green W and Debian 9.9 LXQT - currently I get the message "sudo: /usr/bin/sudo must be owned by uid 0 and have the setuid bit set" when I try.

How could I change these permissions and become superuser????

Jason Kridner

unread,
Apr 8, 2020, 12:38:55 PM4/8/20
to beagl...@googlegroups.com
This answer seems appropriate:
https://askubuntu.com/questions/452860/usr-bin-sudo-must-be-owned-by-uid-0-and-have-the-setuid-bit-set

On Wed, Apr 8, 2020 at 11:49 AM <lubec...@gmail.com> wrote:
>
>
> I would like to be Superuser on my BeagleBone Green W and Debian 9.9 LXQT - currently I get the message "sudo: /usr/bin/sudo must be owned by uid 0 and have the setuid bit set" when I try.
>
> How could I change these permissions and become superuser????
>
> --
> For more options, visit http://beagleboard.org/discuss
> ---
> You received this message because you are subscribed to the Google Groups "BeagleBoard" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/05c7784d-fda0-43fb-9640-a00310e06203%40googlegroups.com.



--
https://beagleboard.org/about - a 501c3 non-profit educating around
open hardware computing

KenUnix

unread,
Apr 9, 2020, 11:12:52 AM4/9/20
to BeagleBoard

Login as root and if you have not changed it use temppwd as the password then

chown root:root /usr/bin/sudo && chmod 4755 /usr/bin/sudo

exit and login as debian

In the future if you want to become superuser for a time use

sudo -s

When done as superuser enter exit to return to debian

Reply all
Reply to author
Forward
0 new messages