FG
💻 Software

What is an equivalent of the adduser command on Mac OS X?

Fresh5 days ago
Mar 15, 202631738 views
Confidence Score0%
0%

Problem

I want to be able to create new users from the command line when I am logged in as an administrator. Specifically, I am looking for an equivalent of the command on Linux.

Error Output

adduser

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: What is an equivalent of the adduser command on Mac OS X?

Low Risk

I think you're looking for the dscl command. Niutil sounds like NetInfo which is deprecated in OS X in favor of Open Directory aka LDAP. Dscl, or Directory Services Command Line, can be used to edit Open Directory for both a local or remote user dat…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment