Page MenuHomePhabricator

Enforce that phd is run as the phd.user daemon user
Closed, ResolvedPublic


Currently ./bin/phd start launches the daemons as the current user. The daemons should however always run as the configured phd.user.

It would be good if during run of phd commands, the user is at least warned if the current user does not match the configured user. Ideally ./bin/phd start also actively switches the user to the configured user and properly daemonizes the process.

Event Timeline

hartman raised the priority of this task from to Needs Triage.
hartman updated the task description. (Show Details)
hartman added a subscriber: hartman.

Is it possible to get D9307: Add note to daemon documention page about running as daemon user committed? as this would certainly go a long way to help new users (like me) understand that even though the phd.user is described as 'Specify a system user to run the daemons as.' it doesn't currently mean that the users will now automatically run as that user.