Hi,
You can use start-stop-daemon command with "--chiud" parameter. Here is an
example:
https://git.yoctoproject.org/meta-security/tree/meta-parsec/recipes-parsec/parsec-service/files/parsec_init
Cheers,
Anton
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Rep
any one has example bitbake script which runs the application by the user
instead of root.
When i start the application using startup scripts [init.d] its running with
root user.
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#57210): https://lists
I'm new to yocto as well but what we do is in our own custom image:
inherit extrausers
EXTRA_USERS_PARAMS = " useradd nodered"
and then since we use systemd we've created our own service file that includes:
User=nodered
in the [service] block definition, so the executable is run using that user
Hello,
> I am trying to run my application in less privilege mode instead of root user.
> As i am new to Yocto build could you please some one suggest on how to
> configure my build environment to get user and run
> my application with the user privileges at startup.
You may be interested in ROO
Hi All,
I am trying to run my application in less privilege mode instead of root user.
As i am new to Yocto build could you please some one suggest on how to
configure my build environment to get user and run
my application with the user privileges at startup.
Regards,
Vijay
-=-=-=-=-=-=-=-=-=-