How can I get root access to a Mac OS X system without wiping the OS?

My father recently died, and I inherited his Mac. I would like to use it in my life, but I do not want to wipe its brains so that I can reconfigure it for use on my network, etc. His old files are historically important to me. I trust you can understand my desire to save them.

I can log in because I had an account on the machine before it went through, but more on that.

+3
source share
8 answers

Sincere condolences.

Try the following: Mac OS X - Reset Forgotten Account Password

, DVD- Mac OS X Reset Password Reset .

: Mac OS X:

+19
+5

. Terminal.app

sudo passwd root

root.

, reset root - osx. .

EDIT: Node .

+4

, , apple . , , root.

Apple.

, , .

+4

- BSD Linux .

+2

,   , , .

  • ( command + s )

  • , mount -uw /

  • rm /var/db/.AppleSetupDone

  • .

    , .AppleSetupDone, mac .


Else, - macs, , , ( )

mount -uw /
cd /private/var/db/netinfo
mv local.nidb local.old
rm ../.AppleSetupDone
exit 
+1

, , , , ...

0

FWIW

, , ; Finder (/Users/name-he-used-on-the-mac); .

you can copy / paste them into the search engine (you will be asked to enter a password) or

you can open a terminal and add them:

      sudo ditto <his files> <directory where you want the copies>

after which you will be asked to enter a password.

0
source

Source: https://habr.com/ru/post/1698183/


All Articles