Page MenuHomePhabricator

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

Description

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.

Revisions and Commits

Restricted Differential Revision

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} 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.

fabe added a revision: Restricted Differential Revision.Dec 23 2014, 12:49 PM
epriestley added a commit: Restricted Diffusion Commit.

Closed by commit rP2fedb6f941d8.