[poky] Sudo binary missing suid - bit

Keskinarkaus, Teemu Teemu.Keskinarkaus at Maximatecc.com
Thu Oct 3 02:48:18 PDT 2013


>From: poky-bounces at yoctoproject.org [mailto:poky-bounces at yoctoproject.org] On Behalf Of Keskinarkaus, Teemu
>> From: Saul Wold [mailto:sgw at linux.intel.com] On 10/01/2013 02:41 AM,
>> Keskinarkaus, Teemu wrote:
>>  > Ups. I meant mode 4111.
>> > Any idea how to fix that? Since the sudo is part of the poky I would thought it would work without too much of a hassle.
>> What version of poky are you using?  I just checked the master git and it appears to be correct with master.
>We are using Dylan - branch. I tried to think the reason why we are using that, but couldn't think of one. There must be some reason I remember when we started. Maybe the Dylan - branch was thought to be more stable than the master - >branch?

I tested with master - branch and still same result. If I create new user and try to use all I get is this:

~$ sudo ls
sudo: effective uid is not 0, is sudo installed setuid root?

That user is in /etc/sudoers - file and will work if I'll fix the suid-bit from /usr/bin/sudo.

Here is what /usr/bin/sudo is now:
-rwxr-xr-x 1 root root 123224 Oct  3 07:07 /usr/bin/sudo

Here what it supposed to be or how it is tried to be set in recipe:
---s--x--x 1 root root 123224 Oct  3 07:07 /usr/bin/sudo

So using master-branch wasn't solving anything in my case. Of course sudo 'works' if you test it with root user, but you don't need sudo with root anyway.

Teemu Keskinarkaus

________________________________

Actuant Corporation Email Notice

This message is intended only for the use of the Addressee and may contain information that is PRIVILEGED and/or CONFIDENTIAL.
This email is intended only for the personal and confidential use of the recipient(s) named above. If the reader of this email is not an intended recipient, you have received this email in error and any review, dissemination, distribution or copying is strictly prohibited.
If you have received this email in error, please notify the sender immediately by return mail and permanently delete the copy you received.

Thank you.



More information about the poky mailing list