Sunday, 18 August 2013

Using dscl on Linux for user management

Using dscl on Linux for user management

Ubuntu and similar Linux distributions use the useradd, groupadd, etc
commands to access and modify system users, groups, etc. OS X, by
contrast, uses the dscl command which, as I understand it, is a utility
from the OpenDirectory family.
As it appears OpenDirectory is open source - OpenLDAP and related items
are available from opensource.apple.com - is it possible to build and
install a certain set of packages in a standard Linux distribution so that
I can use the OpenDirectory tools to handle users/groups/logins/etc
instead of using useradd and co.?
More concisely: (How) can I exactly imitate the user management system of
OS X on a Linux distribution using the open source packages provided by
Apple?

No comments:

Post a Comment