Gå till innehåll
Just nu i M3-nätverket

os x admin hack


mackieworld

Rekommendera Poster

hjälpfull artikel hittad på hackmac, som kan vara bra att ha ngn gång i framtiden.

---------------------------------------------

http://www.hackmac.org/?q=node/4

---------------------------------------------

 

Here's how to create an admin account with knowing the current administrator password.

 

This is a major security flaw, but it is used nowadays by tech support if something happened and your computer crashed, or something got messed up with your password.

 

This process will take about 5-10 minutes. If you have a password, or WEP code for your network or internet, be sure to have that at hand.

 

Step 1: Boot in single user mode (Single user mode bypasses the GUI, which is all the visual stuff, and gives you something called "root access") by pressing Command + S (Apple+S) when the first shade of blue appears on the screen, and holding it down until the screen turns black with white text.

 

Step 2: Wait for all the code stuff to load. Now, the first thing we need to do in single user mode is mount the hard drive so we can edit it. You enter this command in : /sbin/mount -uw /

 

It should say something about removing orphaned unlinked files.

 

Step 3: We are going to delete a little file that tells your computer every time you start up that you've completed the setup by entering this commmand: rm /var/db/.applesetupdone

 

It should just bump down, waiting fotr the next command if it worked.

 

Step 4: Now type, reboot

 

Step 5: It should shut down and reboot. Than, a setup window will appear, asking you what language you want your computer to be in, just like you see when you setup a newly purchased Mac.

 

WARNING: A welcome video will play after you select the language. It has some pretty cool music, but if your in a room with other people, I'd mute it right after the video starts.

 

Step 6: Setup the computer. Select "DO NOT TRANSFER MY DATA". Don't worry, all your old stuff will still be there. Choose your internet connection and network, here is where you need your WEP or security password if you have one.

 

Step 7: Create a new local account to administer that computer. You usually want to enter the name of the computer as the longname, and the shortname what you'll log in as. Say your computer's old name was "Frank's Computer", than just put Frank as the longname, because it will automatically as "'s Computer" at the end. MAKE SURE THAT BOTH USERNAMES ARE DIFFERENT FROM THE EXSISTING ONES, OTHERWISE IT WILL OVERWRITE.

 

Step 8: Finish the setup, and you should automatically be logged into your new administrator account.

 

Happy Hacking!

 

------------------------------------------------------------

 

 

------------------------------------------------------------------------------------

Postaren tar inte ansvar att det som står i ovanstående text fugnerar.

Postaren tar inte ansvar för det innehåll som finns på den länkade siten.

------------------------------------------------------------------------------------

Länk till kommentar
Dela på andra webbplatser

Varför inte bara starta från skiva och ändra lösenord på den användaren som man vill access:a?

Länk till kommentar
Dela på andra webbplatser

Varför inte bara starta från skiva och ändra lösenord på den användaren som man vill access:a?

 

Därför att man inte kan ändra tillbaka lösenordet när man så önskar. En ny användare kan man bara ta bort.

Länk till kommentar
Dela på andra webbplatser

Kan man lösenordet för en admin så är det ju bara logga in på dennes konto och öppna ett adminkonto inne i systeminställningar, eller vad är det för skillnad här?

Länk till kommentar
Dela på andra webbplatser

Därför att man inte kan ändra tillbaka lösenordet när man så önskar. En ny användare kan man bara ta bort.

Aha, nu hänger jag med.

Man vill inte lämna spår, i form av nytt lösenord, efter sig.

Länk till kommentar
Dela på andra webbplatser

Arkiverat

Det här ämnet är nu arkiverat och är stängt för ytterligare svar.



×
×
  • Skapa nytt...