All of lore.kernel.org
 help / color / mirror / Atom feed
From: Saul Wold <sgw@linux.intel.com>
To: "Keskinarkaus, Teemu" <Teemu.Keskinarkaus@Maximatecc.com>
Cc: "poky@yoctoproject.org" <poky@yoctoproject.org>
Subject: Re: Sudo binary missing suid - bit
Date: Tue, 01 Oct 2013 07:46:06 -0700	[thread overview]
Message-ID: <524AE02E.6060202@linux.intel.com> (raw)
In-Reply-To: <83DB4EC8FADD45428E3CC4E3664761FD09AAB21E@AMDTCEX12.actuant.pri>

On 10/01/2013 02:41 AM, Keskinarkaus, Teemu wrote:
> Ups. I meant mode 4111.
>
> -TK
>
> From: poky-bounces@yoctoproject.org [mailto:poky-bounces@yoctoproject.org] On Behalf Of Keskinarkaus, Teemu
> Sent: 1. lokakuuta 2013 12:39
> To: poky@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.
>
What version of poky are you using?  I just checked the master git and 
it appears to be correct with master.

Sau!

> 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.
> _______________________________________________
> poky mailing list
> poky@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/poky
>
>


  reply	other threads:[~2013-10-01 14:46 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
2013-10-02  3:15     ` Keskinarkaus, Teemu
2013-10-03  9:48       ` Keskinarkaus, Teemu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=524AE02E.6060202@linux.intel.com \
    --to=sgw@linux.intel.com \
    --cc=Teemu.Keskinarkaus@Maximatecc.com \
    --cc=poky@yoctoproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.