Hello,
Here is a snippte of yml file and is it possible to switch non-root user at runtime ? Below whoami is returning root. Need to run npm run e2etest as a non-root user.
Thank you
@sofo506 Nice question,
Here are some pointers to help you,
- su - taiko -C "touch me" && whoami && ... && ...
<span>- su </span><span>-</span><span>s </span><span>/</span><span>bin</span><span>/</span><span>bash </span><span>-</span><span>c </span><span>"whoami"</span><span> taiko</span>
Hope this helps.
It looks like you're new here. Sign in or register to get started.