Page MenuHomePhabricator

Diffusion Setup Mac OSX
Closed, ResolvedPublic

Asked by ianvkoeppe on Feb 24 2016, 3:52 AM.

Details

I've been pouring over the setup guide, but certain requirements are difficult to directly transfer to Mac OS equivalents. For example, when told to edit the /etc/passwd and /etc/shadow files, these are not used in OSX. Instead Apple uses Active Directory, and I'm unsure how to obtain the same effect as the password-less vcs-user.

Here's my process thus far:

  1. Configuring System User Accounts
    • Create 3 users, one for daemons, web server, and version control.
    • sudo visudo to give web server ad version control users the ability to sudo to daemon user.
    • Edit /etc/passwd and /etc/shadow ... FAIL???
  2. Switch SSH to port 222 (this was actually super simple)
    • Edit /etc/services, search for ssh, change port references from 22 to 222. In System Preferences disabling and reenabling remote login under the sharing section causes the changes to take effect.
  3. set phd.user and diffusion.ssh-user (simple).
  4. Setting up the new sshd configuration. This is essentially the same. One thing to note is users will have to disable the new Integrity (rootless) feature of Mac OX El Capitan if they wish to use the recommended directories (i.e. /usr/libexec). Otherwise a different directory works fine.

New Answer

Answer

This question has been marked as closed, but you can still leave a new answer.