Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

When I run

sudo dscl . -append /Groups/ GroupMembership $USERNAME

I get

append: Invalid Path
<dscl_cmd> DS Error: -14009 (eDSUnknownNodeName)
share|improve this question
up vote 1 down vote accepted

I just looked at my copy of Mountain Lion and the group doesn't exist until you've actually turned on "Remote Login" in System Preferences.

When you turn on Remote Desktop AND set it to "Allow access for: Only these users", then there is a group called "". When you set it back to ""Allow access for: All users", the name of the group is changed to "".

share|improve this answer

Here’s how you can add groups to your SSH access list (aka a SACL). All commands must be run with root privileges:

Command to create the SACL (if it doesn’t already exist):

dseditgroup -o create -q

Add your group as a nested group inside the SACL group:

dseditgroup -o edit -a group_name_here -t group

If you’re adding an AD group, you may need to add the AD domain’s name:

dseditgroup -o edit -a DOMAIN\group_name_here -t group
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.