Pehem17260 Posted April 21, 2019 Share Posted April 21, 2019 HelloI've made a vanilla install with Mojave (10,14,3).I boot and after "Data and privacy" reboot.I follow the tutorial and I' can'create a admin user.I've waited a script but nothing work.a idea ?The script#!/bin/sh# Script.sh### Created by Pascal MELIN on 06/04/2019.##!/bin/shrm /var/db/.AppleSetupDone &&launchctl load /System/Library/LaunchDaemons/com.apple.opendirectoryd.plist &&dscl . -create /Users/tempdscl . -create /Users/temp UserShell /bin/bashdscl . -create /Users/temp RealName "Temp User"dscl . -create /Users/temp UniqueID "510"dscl . -create /Users/temp PrimaryGroupID 20dscl . -create /Users/temp NFSHomeDirectory /Users/tempdscl . -passwd /Users/temp passworddscl . -append /Groups/admin GroupMembership tempdseditgroup -o edit -a temp -t user adminshutdown -r +0 Link to comment Share on other sites More sharing options...
Recommended Posts