On Wed, Mar 11, 2020 at 1:26 PM Patrick Doyle via Lists.Yoctoproject.Org <[email protected]> wrote: > I want the daemon to run as a non-root user, so I have "inherit > extrausers" in my recipe. > > Suppose I only wanted to create that extra user iff the package > containing the daemon was included in the image. Is this possible? > How? Apparently, the answer is that I should use "inherit adduser" instead of "inherit extrausers". See https://www.yoctoproject.org/docs/2.7/mega-manual/mega-manual.html#ref-classes-useradd.
--wpd
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#48743): https://lists.yoctoproject.org/g/yocto/message/48743 Mute This Topic: https://lists.yoctoproject.org/mt/71884209/21656 Group Owner: [email protected] Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
