[poky] Sudo binary missing suid - bit

Keskinarkaus, Teemu Teemu.Keskinarkaus at Maximatecc.com
Tue Oct 1 02:41:48 PDT 2013


Ups. I meant mode 4111.

-TK

From: poky-bounces at yoctoproject.org [mailto:poky-bounces at yoctoproject.org] On Behalf Of Keskinarkaus, Teemu
Sent: 1. lokakuuta 2013 12:39
To: poky at yoctoproject.org
Subject: [poky] Sudo binary missing suid - bit

Hi,

I'm trying to get sudo - binary working in Yocto/Poky - based project. The binary is already on image, but for some reason it lacks the suid - bit and thus does not work. If I add the suid - bit with root user the sudo starts working as expected.

There is in sudo - recipe this line:  chmod 411 ${D}${bindir}/sudo

And the sudo - binary in sudo/1.8.6p7-r2/image/usr/bin has the right modes for binary, but when it gets installed to actual image the suid - bit is lost.

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.

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