[ovs-dev] [PATCH 1/3] lib: add function to switch daemon user at run time

Ben Pfaff blp at nicira.com
Tue Sep 8 23:48:35 UTC 2015


On Thu, Sep 03, 2015 at 04:33:41PM -0700, Andy Zhou wrote:
> Added function to drop daemon's root privileges at run time by
> allowing it to run as a different user. Daemon can still start
> running as root. Each daemon's implementation can invoke this
> function when it is ready to drop the root privilege.
> 
> Future patch will make use of this function.
> 
> Signed-off-by: Andy Zhou <azhou at nicira.com>

I suggest that behavior on Windows should be to exit with an error
message instead of silently continuing.

I'm going to go back to this after I see how it's used in later patches.



More information about the dev mailing list