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 && ... && ...
- su -s /bin/bash -c "whoami" taiko
Hope this helps.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.