Also, in terms of `setuid`, you may also find `cligen/posixUt.dropPrivilegeTo` useful in the `cligen` nimble package (also at [https://github.com/c-blake/cligen](https://github.com/c-blake/cligen)) used for example by the nimble `kslog` package (also at [https://github.com/c-blake/kslog)](https://github.com/c-blake/kslog\)).
- setting file owner and running process as another user craigmj
- Re: setting file owner and running process as another user cblake
- Re: setting file owner and running process as another use... cblake
