All of lore.kernel.org
 help / color / mirror / Atom feed
* Sudo binary missing suid - bit
@ 2013-10-01  9:39 Keskinarkaus, Teemu
  2013-10-01  9:41 ` Keskinarkaus, Teemu
  0 siblings, 1 reply; 5+ messages in thread
From: Keskinarkaus, Teemu @ 2013-10-01  9:39 UTC (permalink / raw)
  To: poky@yoctoproject.org

[-- Attachment #1: Type: text/plain, Size: 1264 bytes --]

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.

[-- Attachment #2: Type: text/html, Size: 2716 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2013-10-03  9:48 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-01  9:39 Sudo binary missing suid - bit Keskinarkaus, Teemu
2013-10-01  9:41 ` Keskinarkaus, Teemu
2013-10-01 14:46   ` Saul Wold
2013-10-02  3:15     ` Keskinarkaus, Teemu
2013-10-03  9:48       ` Keskinarkaus, Teemu

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.