Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id A8DD1C072A2 for ; Fri, 17 Nov 2023 09:11:42 +0000 (UTC) Subject: How do I allow non root users to use busybox tools To: yocto@lists.yoctoproject.org From: athragared@proton.me X-Originating-Location: Marl, North Rhine-Westphalia, DE (93.133.16.252) X-Originating-Platform: Windows Firefox 119 User-Agent: GROUPS.IO Web Poster MIME-Version: 1.0 Date: Fri, 17 Nov 2023 01:11:33 -0800 Message-ID: Content-Type: multipart/alternative; boundary="isaIdCrpWrclEgxAlv7U" List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Fri, 17 Nov 2023 09:11:42 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/yocto/message/61713 --isaIdCrpWrclEgxAlv7U Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Hello everyone, I noticed today, that the program *date* in my image comes from *busybox* : ls -la /bin/ | grep date lrwxrwxrwx 1 root root 17 Nov 16 15:54 date -> /bin/busybox.suid As this is only a link I could not change the rights with chown etc.. Now I wanted to ask if it is possible to transfer individual programs from = busybox to another user or group? I found this ( https://unix.stackexchange.com/questions/279223/how-do-i-set= -up-busybox-to-allow-a-non-root-user-to-set-the-date ) Stackexchange thread= which talks about an */etc/busybox.conf*. However, I could not find this o= n my system. I also could not find anything in the yocto manual. Thanks in advance. Regards athragared --isaIdCrpWrclEgxAlv7U Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable

Hello everyone,

I noticed today, that the program dat= e in my image comes from busybox:

ls -= la /bin/ | grep date
lrwxrwxrwx 1 root root 17 Nov 16 15:54 date ->= /bin/busybox.suid

As this is only a link I could not change the= rights with chown etc..
Now I wanted to ask if it is possible to tran= sfer individual programs from busybox to another user or group?

= I found this Stackexchange thread which talks about an /etc/busybox.conf. However, I could not find this on my system.<= br />
I also could not find anything in the yocto manual.

T= hanks in advance.


Regards

athragared

--isaIdCrpWrclEgxAlv7U--