Soy un usuario novato. Me gustaría ejecutar MacUserGenerator script de shell para crear una cuenta en un nuevo iMac sin hacer esto manualmente en el proceso de configuración. No estoy seguro si esto es posible? El script de shell bash está en mi dispositivo USB: usbName/Install/Scripts/createAccount.sh
pasos tomados:
-
Arranque en modo de recuperación / modo de usuario único
-
Ejecuta lo siguiente:
diskutil list diskutil mountDisk both usb stick and internal HD cd /Volumes/usbName/Install/Scripts/ sh createAccount.sh
fsck –fy
mount –uw /
mount_msdos /dev/disk2s1 /Volumes
cd Install/Scripts
sh createAccount.sh
-
Lo anterior escupe:
Print: Entry, ":_writers_UserCertificate", Does Not Exist File Doesn't Exist, Will Create: /private/var/db/dslocal/nodes/Default/users/esoadmin.plist File Doesn't Exist, Will Create: /private/var/db/dslocal/nodes/Default/users/esoadmin.plist Print: Entry, ":_writers_hint", Does Not Exist File Doesn't Exist, Will Create: /private/var/db/dslocal/nodes/Default/users/esoadmin.plist File Doesn't Exist, Will Create: /private/var/db/dslocal/nodes/Default/users/esoadmin.plist Print: Entry, ":_writers_jpegphoto", Does Not Exist File Doesn't Exist, Will Create: /private/var/db/dslocal/nodes/Default/users/esoadmin.plist File Doesn't Exist, Will Create: /private/var/db/dslocal/nodes/Default/users/esoadmin.plist Print: Entry, ":_writers_passwd", Does Not Exist File Doesn't Exist, Will Create: /private/var/db/dslocal/nodes/Default/users/esoadmin.plist File Doesn't Exist, Will Create: /private/var/db/dslocal/nodes/Default/users/esoadmin.plist Print: Entry, ":_writers_picture", Does Not Exist File Doesn't Exist, Will Create: /private/var/db/dslocal/nodes/Default/users/esoadmin.plist File Doesn't Exist, Will Create: /private/var/db/dslocal/nodes/Default/users/esoadmin.plist Print: Entry, ":_writers_realname", Does Not Exist File Doesn't Exist, Will Create: /private/var/db/dslocal/nodes/Default/users/esoadmin.plist File Doesn't Exist, Will Create: /private/var/db/dslocal/nodes/Default/users/esoadmin.plist Print: Entry, ":_writers_UserCertificate", Does Not Exist File Doesn't Exist, Will Create: /private/var/db/dslocal/nodes/Default/users/esoadmin.plist File Doesn't Exist, Will Create: /private/var/db/dslocal/nodes/Default/users/esoadmin.plist Print: Entry, ":authentication_authority", Does Not Exist File Doesn't Exist, Will Create: /private/var/db/dslocal/nodes/Default/users/esoadmin.plist File Doesn't Exist, Will Create: /private/var/db/dslocal/nodes/Default/users/esoadmin.plist Print: Entry, ":generateduid", Does Not Exist File Doesn't Exist, Will Create: /private/var/db/dslocal/nodes/Default/users/esoadmin.plist File Doesn't Exist, Will Create: /private/var/db/dslocal/nodes/Default/users/esoadmin.plist Print: Entry, ":gid", Does Not Exist File Doesn't Exist, Will Create: /private/var/db/dslocal/nodes/Default/users/esoadmin.plist File Doesn't Exist, Will Create: /private/var/db/dslocal/nodes/Default/users/esoadmin.plist Print: Entry, ":home", Does Not Exist File Doesn't Exist, Will Create: /private/var/db/dslocal/nodes/Default/users/esoadmin.plist File Doesn't Exist, Will Create: /private/var/db/dslocal/nodes/Default/users/esoadmin.plist Print: Entry, ":name", Does Not Exist File Doesn't Exist, Will Create: /private/var/db/dslocal/nodes/Default/users/esoadmin.plist File Doesn't Exist, Will Create: /private/var/db/dslocal/nodes/Default/users/esoadmin.plist Print: Entry, ":passwd", Does Not Exist File Doesn't Exist, Will Create: /private/var/db/dslocal/nodes/Default/users/esoadmin.plist File Doesn't Exist, Will Create: /private/var/db/dslocal/nodes/Default/users/esoadmin.plist Print: Entry, ":realname", Does Not Exist File Doesn't Exist, Will Create: /private/var/db/dslocal/nodes/Default/users/esoadmin.plist File Doesn't Exist, Will Create: /private/var/db/dslocal/nodes/Default/users/esoadmin.plist Print: Entry, ":shell", Does Not Exist File Doesn't Exist, Will Create: /private/var/db/dslocal/nodes/Default/users/esoadmin.plist File Doesn't Exist, Will Create: /private/var/db/dslocal/nodes/Default/users/esoadmin.plist Print: Entry, ":uid", Does Not Exist File Doesn't Exist, Will Create: /private/var/db/dslocal/nodes/Default/users/esoadmin.plist File Doesn't Exist, Will Create: /private/var/db/dslocal/nodes/Default/users/esoadmin.plist Print: Entry, ":ShadowHashData", Does Not Exist File Doesn't Exist, Will Create: /private/var/db/dslocal/nodes/Default/users/esoadmin.plist File Doesn't Exist, Will Create: /private/var/db/dslocal/nodes/Default/users/esoadmin.plist sed: /private/var/db/dslocal/nodes/Default/users/esoadmin.plist: No such file or directory sed: /private/var/db/dslocal/nodes/Default/users/esoadmin.plist: No such file or directory chmod: /private/var/db/dslocal/nodes/Default/users/esoadmin.plist: No such file or directory Print: Entry, ":jpegphoto", Does Not Exist File Doesn't Exist, Will Create: /private/var/db/dslocal/nodes/Default/users/esoadmin.plist File Doesn't Exist, Will Create: /private/var/db/dslocal/nodes/Default/users/esoadmin.plist sed: /private/var/db/dslocal/nodes/Default/users/esoadmin.plist: No such file or directory sed: /private/var/db/dslocal/nodes/Default/users/esoadmin.plist: No such file or directory sed: /private/var/db/dslocal/nodes/Default/users/esoadmin.plist: No such file or directory sed: /private/var/db/dslocal/nodes/Default/users/esoadmin.plist: No such file or directory sed: /private/var/db/dslocal/nodes/Default/users/esoadmin.plist: No such file or directory Print: Entry, ":DidSeeCloudSetup", Does Not Exist File Doesn't Exist, Will Create: /Users/esoadmin/Library/Preferences/com.apple.SetupAssistant.plist Print: Entry, ":DidSeeSiriSetup", Does Not Exist File Doesn't Exist, Will Create: /Users/esoadmin/Library/Preferences/com.apple.SetupAssistant.plist Print: Entry, ":DidSeeTouchIDSetup", Does Not Exist File Doesn't Exist, Will Create: /Users/esoadmin/Library/Preferences/com.apple.SetupAssistant.plist Print: Entry, ":LastSeenCloudProductVersion", Does Not Exist File Doesn't Exist, Will Create: /Users/esoadmin/Library/Preferences/com.apple.SetupAssistant.plist Print: Entry, ":LastSeenBuddyBuildVersion", Does Not Exist File Doesn't Exist, Will Create: /Users/esoadmin/Library/Preferences/com.apple.SetupAssistant.plist Print: Entry, ":DidSeePrivacy", Does Not Exist File Doesn't Exist, Will Create: /Users/esoadmin/Library/Preferences/com.apple.SetupAssistant.plist mkdir: /Users/esoadmin/Library/Preferences: Read-only file system chmod: /Users/esoadmin: No such file or directory chown: esoadmin: illegal user name chmod: /Users/esoadmin/Library: No such file or directory chown: esoadmin: illegal user name chmod: /Users/esoadmin/Library/Preferences: No such file or directory chown: esoadmin: illegal user name
¿Qué está mal y cómo puedo resolverlo?