I am trying to create user on OS X El Capitan with admin priviliges from super-user mode.
After running /sbin/fsck -fy
and /sbin/mount -uw /
and launchctl load /System/Library/LaunchDaemons/com.apple.opendirectoryd.plist
everything works. But after dscl . -create/Users/USERNAME
i got error no such file or directory. I tried it even with SIP disabled but it doesn't work too. Thanks for the help.
Thanks for the reply, but SIP had no effect.
I finally solved it. The problem was /System/Library/LaunchDaemons/com.apple.DirectoryServices.plist
that was used in 10.6 and earlier, I was using /System/Library/LaunchDaemons/com.apple.opendirectoryd.plist
The dscl
commands were executed despite the error with plist and user got created.