주요 콘텐츠로 건너뛰기

기기를 고치세요

수리할 권리

부품 & 도구

모델 A1419 / EMC 2806 / Late 2014 또는 Mid 2015. 3.3 또는 3.5 GHz Core i5 또는 4.0 GHz Core i7 (ID iMac15,1); EMC 2834 late 2015 / 3.3 또는 3.5 GHz Core i5 또는 4.0 GHz Core i7 (iMac17,1) 모두 Retina 5K 화면 장착

311 질문 전체 보기

How to remove AppleSetup Done on Mojave

Does anyone know how to remove AppleSetupDone on Mojave?

usually use this single user mode command:

/sbin/mount -uw /

rm var/db/dslocal/nodes/Default/users/admin.plist

rm -r /users/admin

rm var/db/.AppleSetupDone

reboot

Any ideas how to do this on Mojave would be much appreciated !

답변되었습니다! View the answer 저도 같은 문제를 겪고 있습니다

좋은 질문 입니까?

점수 1

댓글:

Does this still work with Catalina?

의견 추가하세요

Nintendo Switch Kits

A quick fix to get back in the game

Shop Switch Kits

Nintendo Switch Kits

A quick fix to get back in the game

Shop Switch Kits

답변 2개

선택된 해법

This is how I do it with the older MacOS versions How to Re-Run the OS X Setup Assistant. I haven’t tried it under Mojave yet, but I don’t think Apple has altered things.

Do keep in mind the only reason you would need to remove the empty .AppleSetupDone file is so the system thinks this is the first time setup was run.

Update (11/05/2018)

The first user account is by default the Admin account. But you can always create a new user account which has admin privileges. Or make guest or limited user accounts.

You can’t run a system without a admin account so deleting it is not wise. You can alter the user account permissions to add or remove access.

해당 답변은 도움이 되었습니까?

점수 1

댓글:

I need to remove an admin account.

Hence the admin.plist

Got any ideas how to do that?

의견 추가하세요

I found this on Medium.com posted by Robert Hammen:

Similar to how iOS is configured, macOS is now on a separate partition from user data, which acts as if it is read-only (but in beta 1, it’s merely SIP-protected). In the beta, you’ll see “Macintosh HD” and “Macintosh HD — Data”. Data is a separate volume mounted in /System/Volumes. OS-installed applications live in /System/Applications, but the Finder presents them in /Applications as well. Apple calls the technology “firmlinking”. Beta 2 will be fully read-only by default.

Maybe this will help someone to update the commands required to remove a user folder and remove the .AppleSetupDone file (or whatever needs to be done to trigger the OOBE or new computer setup at startup.

해당 답변은 도움이 되었습니까?

점수 1

댓글:

/sbin/mount -uw /System/Volumes/Data is required for Catalina. I was not able to perform the /sbin/fsck -fy though - can't remember what error it gave but it did not appear to be successful.

@larry767 Thank you, I've missed this.

의견 추가하세요

귀하의 답변을 추가하십시오

P J 가/이 대단히 고마워 할 것입니다.
조회 통계:

24 시간 전: 16

7일 전: 94

30일 전: 426

전체 시간: 4,428