New answers tagged

0

The simplest fix is to either connect the Mac to another Mac with yours in Target Disk Mode to save the files you need or to make a new admin account. How to set single / target disk: Stuck at Apple logo during boot. Cannot enter Safe mode. Cannot use Recovery USB How to make a new admin account by deleting the /var/db/.AppleSetupDone file while booted ...


1

According to several sources: Apple discussions or Mac notebooks: Apple Hardware Test may report "HDD" alert the error: error 4HDD/11/40000000:SATA(0,0) may be erroneous or at least unclear/dubious. It may be related to the vanishing of your users in the Login Screen or not. Depending on your findings in Single User Mode you have several options: ...


0

You can use launchd-oneshot to install a login job run as root with brew install cybertk/formulae/launchd-oneshot sudo launchd-oneshot <script> --on-login-as-root


0

Use a loginhook. They're deprecated but still work: Mac OS X: Creating a login hook


0

To get a user LaunchAgent executing a script to run as root you have to do the following: Modify the permissions of the script. Add the script (or command) to the sudoers file in the context of the user and finally add and load a proper launch agent plist. This approach might create severe security holes! In the example below I use the startup.sh of ...



Top 50 recent answers are included