Industry guru Dave Taylor answers free tech support questions about a wide variety of business and technical topics, including blogging, Google AdSense, MySpace, Sony PSP, Apple iPod, Mp3 players, management, Linux, SEO, Mac OS X, Facebook, Twitter, LinkedIn and Microsoft Windows.

How do I reset my Mac OS X admin root password?

I bought a used PowerBook G4. The original owners have moved to Canada and I do not have their phone number. The problem is that I do not know the administrator's password. I am unable to make changes on the computer or add software without a password. How do I get a new password when I don't even know the existing one?


Dave's Answer:

I bet you'll be surprised how easy it is to change the administrator (known in Unix parlance as "root") password on a Mac OS X Tiger, Panther, etc., computer. The key to unlocking your system is the Mac OS X install disk.

If you don't have this disk, then your best bet is to buy a copy of Mac OS X, even though you already have the OS installed on your computer (you could try calling Apple (800 SOS-APPL) and asking for a replacement boot disk too). One smart way to accomplish this: look for Mac OS X on eBay. You might also ask yourself if you need to run Tiger, or whether Panther would work for you - it'd be a lot cheaper.

Once you have an install disk in hand, double click on the Install Mac OS icon and you'll get a window with a big graphic (this is one place where Apple isn't subtle!) and a restart button. Click on it, and your PowerBook will restart and go straight to the install process.

But don't install the OS again! Just click through windows far enough until you get the regular set of choices on the menu bar. One of those menus is Utilities and one of the choices on that menu is Reset Password....

I'd show this menu as a screenshot here, but can't figure out how to get a screenshot of the install process. Sorry!

Anyway, using this tool, you'll be able to change your password to something you know. Then choose Quit from the Installer menu and when your computer restarts, you'll now know the admin password.

Not too hard.

One important note here for anyone with a Mac: your admin password is only of limited security because anyone with an OS install disk can restart off their disk and reset your password without knowing your existing password. Just something to keep in mind, securitywise!

Hope this helps you out with your new PowerBook!



Help others find this article at Del.icio.us, Digg, Netscape, Reddit, and Simpy.

Subscribe!

Never miss another useful Q&A article again! Subscribe to AskDaveTaylor with Google Reader.

Comments

Now the guy knows how to steal the information on the stolen mac. If he did not know the password and the story was true you should of had him do a clean install.

Posted by: Macgoog at July 30, 2005 5:58 AM

I hadn't thought of that, Macgoog, but on the other hand, if they've ripped off a PowerBook, it's the unit itself, not the data, that's of value. Think eBay.

Further, if they were trying to salvage data, they'd just restart the Powerbook in Firewire Target Mode and connect it to another Mac. Voila. Free access to all the data on the disk and the password is irrelevant.

Posted by: Dave Taylor at July 30, 2005 6:55 AM

If you want to protect the data on your PowerBook, set an Open Firmware password using Apple's utility and instructions found at http://docs.info.apple.com/article.html?artnum=106482 . Once you do that, someone else will not be able to startup the computer in FireWire target disk mode, or use the "C" key to start from CD or DVD to reinstall. Even following Dave's instructions here, they won't be able to reboot from the Mac OS X installation CD because double-clicking "Install Mac OS X" requires the admin password, which this guy does not have.

The main option at that point would be to take it to a repair center or Apple store to have them open it up and remove the built-in battery to erase non-volatile RAM and therefore reset the Open Firmware password. Some stores may require proof of purchase before doing that as a precaution.

Of course, if you want even more data protection, use FileVault - resetting the admin password will not reset a FileVault password, so the encrypted disk image for that user account would still not be accessible. It would let you reinstall Mac OS X, though, or create new users.

Posted by: Matt at July 30, 2005 3:26 PM

One way to get a screenshot of the install process is to run through the istallation within VMWare or some other virtual machine environment which supports the OS you're trying to write a guide for.

And, BTW, I'm about to use the information posted here to reset the Password on a machine I am supporting at work. It is the *only* Mac in the building, and I have 0 experience supporting Mac. Therefore, I for one truly appreciate the how-to.

Posted by: Scott at December 16, 2005 8:00 PM

I have a similar problem, and tried your solution to the above question. However, when you push "restart", the computer ask's for the administrators password. Any other suggestions? -JAson

Posted by: jason warwin at December 30, 2005 4:40 PM

It's prompting you for a password on restart? What happens if you just push and hold down the main power button on your Mac itself (on the unit, not the keyboard) for 5-10 seconds, then push it again? Surely that'll restart the computer without a password?

Posted by: Dave Taylor at January 1, 2006 11:13 AM

If the reboot is password protected for the install disk, just turn the system off then back on (with the install disk in it of course) and hod the "c" key while the system boots and it will boot from the cd. You can then get the terminal as described above.

Posted by: Tom P. at January 20, 2006 3:42 PM

If you can't easily get a screenshot, consider just taking a photo of the screen with a digital camera.

Posted by: Pete Prodoehl at February 23, 2006 11:27 AM

Hi! I have also tried your answer. However when I put in the MAC OS X CD and double click the installer icon, it automatically launches "Classic Environment satrting from 'Macintosh HD'"
Then it says "This App. doesn't run in the classic environment. To insatll MAC OS X start from the disc."
So I continue to follow directions.....and whatd'ya know? I can't get the regular set of choices on the menu bar i click clear through up untill it says install!(probably from booting from disc).
PLEASE HELP!!

Posted by: Lori at March 5, 2006 12:58 PM

Hi Lori, that's because you need to RESTART the computer with the install disk in your Mac. :-)

Put in the CD, then choose Restart. Then push down and hold down the 'c' key until you see it's launched the installer.

Good luck!

Posted by: Dave Taylor at March 6, 2006 12:24 AM

Great, and thanks!
I join in on that this was a great hint. I had to do a fresh install due to problems saving documents and Finder (it kept thinking the bastard) - and out of the blue I found out that the new installation had made me a password! As this is a homemac I HAD NEVER APPLIED A PASSWORD before.

Great tip. Bet pro's had known this anyway.

Stian

Posted by: Stian at March 8, 2006 12:52 PM

OK, a friend has a mac that was set up for her by a psychopath who won't tell her what the root password is. She also has none of the install disks for the OS.

Will disconnecting the battery and resetting the NVRAM wipe out the password that he has set?

Posted by: Andy Wander at May 11, 2006 6:52 AM

Installed Tiger (clean install), restored apps, files (not System), etc from a Firewire HD backup using Carbon Copy Cloner. On re-start, I'm asked for username and password - which I know (!!!) - and they're rejected. Attempt to reset password as you describe above, but the computer's system is greyed and doesn't respond (I'm booting from the firewire hard drive). Any suggestions this side of slashing wrists?

Posted by: J. Press at June 24, 2006 4:51 PM

That's an odd one. J. Could you reboot and get into the system *before* you restored the apps, etc., from the CarbonCopy backup? That is, did you find that the install worked, but the restore caused things to get messed up?

Posted by: Dave Taylor at June 24, 2006 4:53 PM

"...did you find that the install worked, but the restore caused things to get messed up?" Yup. That's what I found. I suspect I'll have to start again from the clean install and reinstall all software and files from scratch; which is a serious pain. What I don't understand is how the login info. is being corrupted (I assume that's what's happening).

Posted by: J press at June 24, 2006 7:36 PM

I just wanted to say thanks. Someone gave me a Imac that they had in the back of there truck. I tried to boot it and it works, Its cracked a bit but it seem to be ok. So anyway it was locked and I had lost contact with him but the tip given above has helped me reset it to my new password. Thanks!

Posted by: Thanks at June 25, 2006 11:45 PM

I have a powermac G4 AGP graphics that I bought used from this guy off craigslist.....It had a clean install of OSX Tiger on it....I change the administrator password to my username and password and I use it that day then shut it off.....the next day I go into the computer to change my preferences and the username and password dont work anymore....neither does his....I look at my account and i dont have administrator priveleges anymore....I try to use the install disc to change the password but when i restart holding "c" i get a folder with a "?" and the MAC face in it....I need major help. please!!!!!

Posted by: John at July 2, 2006 12:38 PM


Thanks for posting this, folks.

I'm a complete Mac newbie and I wanted to install Tiger but did not know the admin password.

I'm rolling again thanks to your expert help.

Posted by: Matthew at August 10, 2006 11:23 AM

I'm in a simular situation to most peps above. trying to reset the admin pass. For some reason when i give it the C during boot it'll show a mac logo w/pin wheel bars, then go to a "Prohibitory Sign" (circle with slash like in no smoking) and then just sit there. I've reset the NVRAM, PRAM all of that, but nothing seems to work. Any ideas?

Posted by: wm at August 20, 2006 11:16 PM

Ok, the no smoking sign means that your bootx file is either corrupt or needs to be replaced by another Mac using Firewire. Also, I don't know where you guys come up with the key to getting into an Apple computer is the CD!!!

Please, come on now, all you need is nothing: OK, restart your computer, hold down Command-S and type in the following:

/sbin/fsck -y [Enter]
/sbin/mount -uaw [Enter]
rm /var/db/.applesetupdone [Enter]
reboot [Enter]

Once you've done that the computer reboots and ask you to set up an admin password. From there you just change all other account passwords in the account preferences!!

So who said you needed a CD?

Posted by: JoseAranda at September 9, 2006 3:48 AM

does that work ^^?

Posted by: austin at September 12, 2006 10:03 PM

Hi Dave,

Is it possible to reset the admin password by using the single-user mode for Tiger 10.4?

Thank you.

Posted by: Coohou at September 16, 2006 4:49 PM

I followed JoseAranda steps and it worked. Walked me through the setup and I created a new account.

restart your computer, hold down Command-S and type in the following:

/sbin/fsck -y [Enter]
/sbin/mount -uaw [Enter]
rm /var/db/.applesetupdone [Enter]
reboot [Enter]

Posted by: new2mac at September 23, 2006 10:43 AM

I just wanted to tell you your website is the bomb. I went to the apple store only to be told i needed to buy new software and a whole bunch of other crap. I need the reset with the command s setup and my powerbook g4 is working beautifully. Thanks and keep up the great webpage.

Posted by: Ladonne Dillard at September 26, 2006 8:59 PM

Um, I have recieved a Macbook from my school. Its pretty locked down(Region code not enabled,Disabled Dashboard,Itunes music store diabled, Cant install software)I have found a workaround enabling dashboard in the terminal wich was also blocked and using mondo dock to lauch .dmgs and programs. But me and my friend are trying desperatly to find the admin password...we havnt found it, its near inpossible. I can't even reset it. They have an Open firmware password. Every boot combination under the sun is blocked. my friends doesnt have a firmware password so hes pretty much taken care of. But for me i have to figure out where the built in battery is on the new macbooks so i can reset the Nvram. I ruled out the possibilty of going to the nearest Mac store becuase they definitly wouldnt help me becuse i lack proof of purchase and the fact that my School district has embossed them with their logo and information. I dont plan on doinig anything malicous except for reseting the Nvram. I only want to install Reason and Photoshop witch need Admin Privilidges even with the workaround.
Please Help.

Posted by: Cameron at October 9, 2006 3:31 PM

I followed JoseAranda steps and it worked. Walked me through the setup and I created a new account.

Perfect Solution !!

tx

Posted by: k2br at October 18, 2006 4:33 PM

Hi !

I'm just a happy new owner of an Ibook that I've just bought on Ebay. I've always been under Windows and Linux system and wanted to give a try to Mac environment.

The ibook I bought is running MAC OS X. When started the laptop asked me for a login and a password.

That's when I discovered dave's tip and arrived in that page.

I have, apparently, a major problem running CD's on boot (I tried booting panther and Ubuntu linux). After holding 'option' I could see those Cds on Boot but for some reasons I got stuck on this window whether I click on the right arrow or not. Starting the computer with 'C' doesn't make any effects. Broken CDrom ?

Anyway, I tried JoseAranda's method. Everyting went fine until I boot again. This time I could see written 'my_name' 's computer which indicated me that everything's all right.

However Even though I did it about 10 times, this windows keeps refusing my login / password.
No error messages of any sort written. But just the window vibrating and blanking the password box.

Now I hope, you guys, can seriously help me on this. I'm totally desesperating and start considering throwing my brand new Mac on the trash !

Posted by: sleez at October 30, 2006 2:31 PM

I am new to mac, and i got the same problem. After reading JoseAranda post, i tried it. But it won't work. After restart, i press "S" But it doesn't do anything. I don't know where is the key "Command" on my keyboard. I am usingn IBookG4.
Please show me where is the key "command" on my keyboard (where is that near by). Thank you very much.

Posted by: Max at October 31, 2006 3:14 PM

The command key is the apple.

Posted by: sleez at October 31, 2006 6:21 PM

if i forgot my admin password and i need to reset it to upgrade my os from 10.1.5 to 10.3, will resetting it erase all my stuff on my HD?? thanks

Posted by: dookie at November 3, 2006 3:00 PM

Dookie, no, you'll be fine as long as you do the password reset NOT AN OPERATING SYSTEM INSTALL. The difference is pretty obvious. :-)

Posted by: Dave Taylor at November 3, 2006 9:36 PM

Hey, I'm just wondering about the command JoseAranda gave us.

What does it do? Does it reset the password? If it does, where do you put in a new one?

Please help.

Posted by: Eric the Red at November 4, 2006 5:44 PM

I also tried JoseAranda's method and it didn't work for me. Upon restart, I hit command+S and enter the code as written and nothing changes upon rebooting. Are there spaces in the first and second lines?

Posted by: lalooly74 at November 4, 2006 8:27 PM

Yes.

Posted by: Eric the Red at November 4, 2006 8:58 PM

If I can't get JoseAranda's method to work for me, is there anything else I can do other than buy a new copy of OS X?

Posted by: lalooly74 at November 4, 2006 9:57 PM

The most sure way to reset a mac password is from the singe user prompt. Restart the mac, holding down cmd-s. This will take you to a single user prompt. type "/etc/rc" and hit return. A bunch of text will flash by. To reset a password, type "passwd " and press return. Enter a new password. The system will prompt you to enter it again. Type "exit" to leave single user mode and return to a graphical environment.

Posted by: Dave at November 16, 2006 7:57 PM

I went through all the steps regarding this post and when I get to the Password Reset window the drive I am trying to access is grayed out and won't allow access.

I suspect the BootX document is corrupted. I was working on the PBG4 550 all day using this drive (firewire) as startup disk.

System crashed while adding cover art in itunes.

When restarting username and password prompt appeared which is not usual. Then my username and password was rejected.

I know they are correct, but it won't take it.

Also tried repairing permissions several times and different things came up but were all repaired.

Help!

Thanks in advance, Richard Carron

Posted by: Richard Carron at November 22, 2006 8:53 PM

just bought a powerbook g4 at a yardsale. all it came with was a powersupply and the unit itself. at start up it has a username already but what i cant figure out is the password. Not really intersted in buying new software. the pc is for my wife. not much into mac but it was cheap. is there a way to change or bypass the password. im gonna erase all the info on there anyway. the pc was used for a english major college student anyway. I tried to ask the original owners for the password. and the son has forgotten it so im in need of a little help.

Posted by: joed at November 24, 2006 2:01 PM

can anyone help a newbie on the mac i have been given a g4 powermac but i cant find out the admin password i tried JoseAranda post but all that said is no such file or directory, so i tried the post by Dave but it said permission denied, i have also taken out the battery but still nothing can anyone help so that i can give it my own admin name and password, i have also asked my friend who gave it me but he cant remember it so iam completly stuck.

Posted by: slimsim at December 11, 2006 12:19 PM

Cameron wrote:
Um, I have recieved a Macbook from my school. Its pretty locked down ... me and my friend are trying desperatly to find the admin password.They have an Open firmware password ... my friends doesnt have a firmware password so hes pretty much taken care of.

You ... um, 'received' ... a locked down Macbook from your school?

Cameron continues:
I ruled out the possibilty of going to the nearest Mac store becuase they definitly wouldnt help me becuse i lack proof of purchase and the fact that my School district has embossed them with their logo and information.

OK, lets see ... you have no proof of ownership and apparently can't ask your school's IT administrator to help you reset the password ... for the Mac Book ... you Um, ...'received'.

And we wonder why property taxes are so high.

Funny how many folks who are on this thread who are in similar straits ... that either can't ask, or that the 'previous owners' suddenly forgot their adminstrator's password.

When I get the Dual MDD I purchased on eBay yesterday I will definitely be setting up an OpenFirmware password on the new Mac.

Posted by: DJ at December 22, 2006 9:02 PM

After using OS X disk reset password and reboot my Mac, I got this an text message instead of a Mac log in page, like, "I have no name#"
Can Mac Master help me?

Posted by: mz at December 27, 2006 10:39 PM

Thankyou! bought an ex-display macbook pro from a shop and the admin pw had been lost - what a lifesaver. If I knew where you drank, I'd send you a pint!

Posted by: GDC at January 16, 2007 2:37 PM

I have a MAC G3 with OS X and used for print and file server with other MACs and somehow one of the user delted "Admin" account.
it has three other accounts. All are standard. can not chnage anything as don't have administrator password. it boots up fine by using one of the three account.
Can I use this method (starting from CD) and create a admin account?
Thanks Please help.
mxarun

Posted by: mxarun at January 28, 2007 12:46 PM

Dave, Im desperate. I have a MacBook and Im ready to destroy it. I forgot my administrator password and I did your method of putting in the MacOSX CD. When I come to the screen where it has the restart button, I cant restart it because it asks me for my password!!!!! What should I do now!??

Posted by: ChrisS at February 5, 2007 12:28 AM

i have an imac g4, the one with the dome shaped (tower)... I followed the instructions for resetting the admin password and it worked fine. But now i go into Itunes and all of my musik is gone!!!! I've tried "add to library..." about a million different times and can't seem to get it all back. The only time I happened to see my musik again is when i opened i tunes from the "Desktop (Mac OS 9) folder, added to library and it all came back. can't seem to get it to work from the Mac OS X Itunes though... Some one please help, i can't afford to loose all my musik, it was like 11 days worth... any info would help!!!!!!!!!!!!!!!!!

Posted by: SEAN at February 9, 2007 6:59 AM

I tried JoseAranda steps (restart your computer, hold down Command-S and type in the following:

/sbin/fsck -y [Enter]
/sbin/mount -uaw [Enter]
rm /var/db/.applesetupdone [Enter]
reboot [Enter]

and it says .applesetupdone file not found
i tried the etc/rc command and it says access denied

I am using a ibook g4 has a password and i would appreciate any help

Davo

Posted by: DAVO at February 13, 2007 1:16 AM

I have an IMAC G3 DV. I believe I forgot my password (or became corrupted, don't know :( , but my usual pw does not work anymore).
I have my mac osx disk but pressing C to boot from cd rom does not work. The mac keeps ejecting the cd from the tray, and then boot.
Is there another way to reset the pw or to check if the cdrom is still working?
I tried booting in single user mode, but in that mode my keyboard does not work and I cannot write anything.
I have the root prompt (console), but simply cannot write anything and do the suggested fsck and mount the filesystem!
My keyboard works fine as I can write the (NOT WORKING) password on the macosx login screen, but in single user mode nothing works!
Please help, any help really appreciated. Nearest mac service is 200miles from here!

Posted by: Gary at February 19, 2007 5:06 AM

I found my solution! After resetting pram, nvram, and reset-all in open firmware mode, I was able to boot in single user mode with a working keyboard!
After that, the JoseAranda method worked flawlessy!

....I've my files again, and did not have to format the disc and install from scratch.

I discovered this way my cd-rw does not work anymore :( but I don't use it really often

Posted by: Gary at February 19, 2007 11:52 AM

What is wrong with just loading a terminal and typing:

sudo passwd root

Worked fine for me. You do need the password for an account with admin rights.

Posted by: Andrew Boyton at February 22, 2007 8:54 PM

I have the same problem as MXARUN. i think my administator was accidentally deleted, because under users it only shows 2 standard accounts. and i have to wait for the apple keyboard i bought to try the jose arunda thing, because i am using an old ell usb keyboard now. i have an imac g3. will the jose arunda thing work?
what should i do if i dont even have an administrator account to begin with? please help!!! THANKS!!!!!

Posted by: Marty at February 25, 2007 5:06 PM

update: i just got the keyboard and tried the jose aranda thing, and it didnt work. /sbin/fsck -y didnt work, i had to add -f to it. then the next line did nothing. no file was found. same for the next line, but of course the reboot line worked, it just rebooted. also /etc/rc did didnt do anything. please help. there is NO administrator on my mac. what could i do without an os x disk to get an administrator back???? PLEASE HELP!!!!!!

Posted by: Marty at February 26, 2007 3:25 PM

JoseAranda ...thanks so much..I had this "mac" guy come to My place and delete passwords..the process you gave was hands down the shizznat..
thanks..

Posted by: munkeysocks at March 4, 2007 10:21 AM

Please Help!!!
I've done the JoseAranda method however after I type
reboot (ENTER)
The computer doesn't ask me to set up an admin password.
What shall I do?

yeldar

Posted by: yeldar at March 6, 2007 1:10 AM

I tried the Josearanda method and it created a 2nd ADMIN login and password but when I tried to open itunes or iphotos it said that i did not have permission to do so. The next day when i restarted all i got was the apple screen where i am supposed to login but it was blank and it froze. I tried to do the Josearanda thing again and it said that i did not not have permission to do so and then i tried the /etc/rc thing and it wont allow it - I have v10.3.2 but i do not have the install disk - i got a v10.4 install disk and tried to use that after the josearanda thing and it says that this software can not be loaded! HELP!

Posted by: Zeena at March 14, 2007 7:55 AM

Dave, I recently bought a refurbished apple mini OS X. Its about an year old. The shop keeper gave me the admin password and that works fine. But he is not aware of the "File Vault" password or the "Master Password". The original owner who sold the mac to the shop keeper is nowhere traceable. Is there a way to reset the Master password or the file vault password. Please advice.

Posted by: gs at March 15, 2007 12:42 AM

I have a power Mac 4 running OS X. I have not been able to sign on to the Mac for days. It tells me worry password. (I know it is correct), our Admin IT person who put the passwords on the computer no longer works here and did not leave his password. I put in the installer disk held down the C key and it still brings me to the sign on page. It is not letting me boot from the CD. How can I get around this?

Posted by: Betty Blake at March 16, 2007 5:35 AM

please help me to romove the login password on my powerbook g4.it asks for a login password. my friend gave it to me.it can't boot from the cd when i hold the c key

Posted by: abu at March 17, 2007 12:24 PM

I have a Shoreline School District iMac. I dont wanna mess anything up cuz of the school but how do i get the name and password without a cd or program????

Posted by: Middle School Student at March 23, 2007 5:51 PM

it work for me thnx very much, from new State KOSOVA 2007

Posted by: aRTx at March 24, 2007 7:18 PM

i have a powerbook g4 laptop, it was a gift from my ex girl friend. she moved out of the country but wont give me the password. i tried the etc/rc and got permission denied. i also tried the josearanda 1 and it did nothing. please help

Posted by: Markus Parham at March 25, 2007 7:39 PM

sir i have a problem, have just been assign to update a website that the former administrator has refuse to part with the password, the admin password is still with the person, how can how login into admin area to update the website.urgent reply pls

Posted by: nath at March 27, 2007 1:06 PM

Hi I have a iBook G4 and I just have an account that is non-administrative...in other words i don't have administrative rights


I have a question aboutjosearanda's method. Do you hold command-s and also type the /sbin stuff at the same time????? Or do you hold command-s for a few seconds... and then type all the /sbin stuff

i also have another question... when do you type hold command s and type all the /sbin stuff?
is it when the apple logo shows up and the circular loading bar is there.... or when the username list shows up???

Please Help Quickly Need HELP,
Zonley

Posted by: Zonley Nutterfield at March 27, 2007 5:27 PM

REALLYREALLY ANNOYING!!!!!!!!!!!!!!
I have an Imac G4, im 15 and not so great with computers. Ive tried everything above at least five times (the install disk method and the josethingywhatsit method and everything) and nothing works for me. I'm either really unlucky (because these things always seem to happen to me) or incredibly stupid.
My main query is with the install disc method. When I am given the option to restart the computer to install, I am asked for the administration password, now if thats not irony I dont know what is!
Help Please :)

Posted by: Luke? at March 30, 2007 7:31 PM

zonely nutterfield,
when the tone sounds when the mac starts, hold down cmd-s and dont stop until a black screen and text appears. Type when it stops appearing. Dont rush you have all the time in the world.

Posted by: awesomeguy at March 30, 2007 7:37 PM

Hello, this site is wonderful and as a very new mac user I am thrilled to have it as a resource. However I would like to point out I am in the same situation as Cameron in terms of administrator rights and he sounds very credible (this is all well and good providing you believe I am credible also ;) ). I type in "sudo psswd root" in terminal and 3 rules appear, and the option to type a password. Is this what i'm looking for? And if I proceed is there any danger involved? Thankyou very much for your help. P.S I probably won't even go on to change the password without consulting someone at school, I am just really interested in what will happen and am hoping someone can help me.

Posted by: Very intrigued... at April 2, 2007 5:00 PM

Hi all,

Jose's method helped me out. So just let your computer restart. Before it can restart you hold the command+s down

Then you get the black screen with the text, just wait till it is done and then type in the lines he mentioned.

It worked for me!

Thx alot!

Posted by: NasT at April 5, 2007 10:09 AM

Man...Jose...thanks for that info. Helped me out a lot. Was able to get my cousin back into his Powerbook...thanks again.

Posted by: Hectz at April 7, 2007 11:43 PM

The information password can be reset with other means. Now any one can hack into a computer.

Posted by: Dakota Hall at April 11, 2007 12:51 PM

hi dave i have a powerbook g4 laptop running osx 10.3.9... that have been freezing so i i tried to restore the system and accidently use the os9 restore. now i can only start from a cd because part of osx was eraced... i tried to install os 9 but SHARING IS ON ( two users) hence, there is not enough space for installation.
1 .how can i turn off sharing
2. how do i reinstall osx 10.3.9

respect.

Posted by: Gary at April 18, 2007 10:55 AM

i also tried the JoseAranda commands it it worked great but now i cant get out of the system administrators login.
i choose either logout/restart or shutdown and it doesnt do anything.

i have forced reboot (either holding down power or ctrl+apple+power) and the mac reboots but logs straight back into system admin.

i have deleted the profiles and added a new profile but still no luck.
i have also changed the login options to automatically login as 'new admin account' but still logs straight back in system admin.

Posted by: emerson at April 22, 2007 5:01 AM

Hey Davo I was having the same problem as you but then I realized i wasnt putting a space after rm

but this one reset the password it will just create a new account for you but you can still see the other admin under accounts but I guess it doesnt really matter.

here it is again. THIS REALLY WORKS!!!!

/sbin/fsck -y [Enter]
/sbin/mount -uaw [Enter]
rm /var/db/.applesetupdone [Enter]
reboot [Enter]

again make sure you use space after /fsck then space again after /mount and finally space again after rm then just type reboot [enter] then mac osx will take you to making a new profile prosses.

thanks again JoseAranda.

Posted by: Shincrono at April 24, 2007 3:31 AM

"sudo passwd root"

Posted by: Ekern at May 2, 2007 4:55 AM

Hello, I just bought a titanium powerbook g4 at a yard sale and of course, i do not know the admin password, so i couldnt uninstall some of the stuff that i dont need on this computer....so i found this site and am going to try it, since my cousin has the OSX disc for her ibook, but wanted to know ONE thing....

if i do the whole pasword reset thing with the disc, will i lose all the programs that came with the computer? it has adobe and everything, and i sure as hell wouldnt not like to lose any of those programs..it is the reason why i bought the computer in the first place, for school. any help would be greatly appreciated.

Posted by: anonymiss at May 6, 2007 11:05 PM

My sister gave me her old iMac since she had just graduated highschool and bought a Macbook Pro for University.
Though just recently my family moved again and any cds that came along with the iMac can't be found. I've tried everything listed but nothing seems to work. Is there anything else that I could try?

Posted by: Monica at May 7, 2007 6:32 PM

PROBLEM WITH PASSWORD RESET FROM REMOTE ADMIN
I'm connecting to server with Mac OS from MacBook - after "sudo passwd root" on server can't login any more with admin user in Remote Desktop - I know all the passwords, but everytime I try to login - login windows keeps refusing my login. No error messages, but just the window vibrating. Someone told me that admin user really is the same root user, and I can't just change password (because of keychain???) Can login by ssh.
Any suggestions? really stuck...

Posted by: Ronan at May 10, 2007 4:36 PM

I have almost the exact same problem as described in the original question. The only difference is that there is only one user account so i have no access to the computer whatsoever. Will the Mac OS X boot disk password reset work for this situation as well, or do i absolutly need to get into the computer to run the OS disk?

Posted by: MacNewbie at May 13, 2007 9:05 PM

It is supposed that the keys and the start from the cd works but it does not work I believe that fiware this one blocking the key comand and any form plase help i tired

Posted by: blackmonra17 at May 17, 2007 5:27 PM

i dont know wat happend .i did the whole JoseAranda thing on my macbook pro and it takes me to a screen where it asks me what language i want as my default from a list so i click on english and mac os x loads fast then the next screen is just blue and nothing happens can anyone help me please.......

Posted by: chico3nyc at May 20, 2007 11:48 PM

for all of you commenting "sudo passwd root". This is not a true *nix authentication system. What I mean is the login application does not authenticate against /etc/passwd or /etc/shadow. It uses the NETINFO DB. So, "passwd will not work" it will just change the password in /etc/shadow and give the user 2 passwords in two different locations!!!!! you could also just rename the old applesetupdone file instead of removing it. So that upon boot if it does not work for whatever reason, you can at lease rename it back.


/sbin/fsck -y [Enter]
/sbin/mount -uaw [Enter]
mv /var/db/.applesetupdone /var/db/.applesetupdone.orig[Enter]
reboot [Enter]

and when you boot backup just change the other admins password to something new and reboot and login as that user. After which it might be best to remove the new admin account.

Posted by: comonpeople at May 23, 2007 12:39 AM

Single user mode is a solution to reset root password on all unix system. The same as on Mac OS X. The hint is to press Command+S on startup. Then:
# sh /etc/rc , as wrote on screen. Then
# passwd - the standard util to change password. And then
# exit

Don't understand why it is needing to remove /var/db/.applesetupdone

Posted by: bob at May 30, 2007 3:51 PM

I did that method and the accounts are gone. It takes me to make a new account. but after it asks me to select keyboard layout it freezes. And never continues.

Posted by: HEC at June 1, 2007 1:45 PM

Hi. I'm trying to do a clean erase on my G3 desktop. The machine is currently running OS 9.2 and also has a partition for the Beta version of OSX. I haven't used the computer for several years, and have since forgotten the admin password. I do have the password to my daughter's login (she used it up until a month ago), but it only has standard access. I have all the original disks and manuals, but the computer won't let me reboot from the disk with the "C" command. If I access the install logo from my daughter's login, it runs the re-install for about two minutes then says "Unable to access drive set-up", before stopping the re-installation. Any suggestions short of taking it to a service center?

Posted by: James at June 3, 2007 1:29 PM

hi there
my boss bought an imac from someone and doesnt know how to contact him. there is an admin password but when i looked at the hint it said "there is no password". but clearly there is. and i also found there is a "master" password and the hint for it is "always...". so anyways ive tried the install disc trick and it aksed for the password and so i tried to manual restart and when im holding down 'c' it ejects the disc before it loads up the os. I dont know what to do and my boss just keeps saying one thing, "figure it out", so here i am. Can anyone help?

Posted by: Jonathan Eastman at June 26, 2007 10:40 AM

I have an ibook g4 and i tryed the codes upon start up and all it tells me is permission denied is there another way around this? what can i do?

Posted by: America at June 29, 2007 1:00 PM

I get the feeling there are a lot of "found, my brother's sister's cousin best friend from work, boss, ex-lover, school gave me computers" that the police would be interested in. Is there no guilt in this group?

Posted by: 20-2 at July 5, 2007 10:00 PM

To the previous commenter, and a couple of others. Yeah, maybe some of these people aren't legit, but it is possible to actually need this information. Anyone w/ this problem probably WOULD find this article, because it is pretty high up on the google list. I, for one, benefited from this. I bought a used computer in JAPAN, and didn't receive any information from the electronics store that I could understand telling me what the password was. Yes, I could have gone to the store, and spent hours of time and 1,000 yen on train fare, but luckily I didn't need to!

One more thing. For those mentioning a password is required when they click on the installation prompt, try going into System Preferenes, Startup Disk, and select the installation CD. That will work if your whole system isn't locked and you just need to be able to change the admin password.

Posted by: Saori at July 9, 2007 6:06 AM

Okay, the truth on my part is that a friend of my mom's has a son that used to go to some fancy school that lent out iBook G4s. When they moved down here the kid didn't touch the thing for a few months so he forgot the account info. He decided I could have it if I figured out how to get it going. Now that you know I'm not a criminal... pressing apple-S doesn't do anything. I don't have a OSX disc handy so thats no good. Any other ideas?

Posted by: Daniel at July 10, 2007 6:46 PM

[QUOTE]"


Ok, the no smoking sign means that your bootx file is either corrupt or needs to be replaced by another Mac using Firewire. Also, I don't know where you guys come up with the key to getting into an Apple computer is the CD!!!

Please, come on now, all you need is nothing: OK, restart your computer, hold down Command-S and type in the following:

/sbin/fsck -y [Enter]
/sbin/mount -uaw [Enter]
rm /var/db/.applesetupdone [Enter]
reboot [Enter]

Once you've done that the computer reboots and ask you to set up an admin password. From there you just change all other account passwords in the account preferences!!

So who said you needed a CD?
Posted by: JoseAranda at September 9, 2006 3:48 AM "[ENDQUOTE]

That post saved my life. wow.

Posted by: Tommy D at July 15, 2007 8:58 PM

I have not tried Bob's method using single user mode. However, I have it done successfully with JoseAranda's way. One aspect that should have been mentioned is after the reboot, you will be asked to register with Apple as part of the account creation process. Not a bad idea anyway, as in most case, you will be the new owner of the machine.

Posted by: steve at July 17, 2007 6:29 PM

I tried JoseAranda steps and it worked like a charm on my ibook, thank you very much for that well done job. you deserve alot of props my friend.

Posted by: yovanny25 at July 24, 2007 1:43 PM

I recently bought an old iMac bondi, just like the one I learned graphics on. It had OS X installed, as well as OS 8 and OS 9.2. As I was playing around with it, I got into 8 ok, but when I tried 9.2, I hit the password login screen. The guy I bought it from had bought it from someone else, and didn't know the password.

Not caring about anything on it, I bought OS 10.2, but can't get the machine to boot to the CD, it just keeps going straight to the 9.2 log in screen. I have tried holding the C key, X key, Ctr P R N, and several other combinations. Can anyone help me boot to the CD to format and reinstall 10.2?

Posted by: Capt Quirk at August 3, 2007 2:57 PM

I bougth a new macbook for $300. of course it didnt come with the password, of course its stolen, i dont care, i had to buy it for that price. i love the black market.

im going to try the famous jose method, as soon as i buy a power cord. of course it didnt come with the power cord. (because its stolen)

you have to give me a litle credit for telling the truth,

would you have done the same??

Posted by: Raul at August 4, 2007 5:27 PM

Hi,

Thanks to JoseAranda for the tip. The consequence is that a new administrator account is created by running through the setup of MacOS. That means a new AppleId, your address, Internet config etc. No problem. Changing another administrators password is not allowed. So whilst I can update now update my machine ... I can't log back in as who I was. Any tips?

Posted by: Jonathan at August 7, 2007 10:17 AM

I just wanted to say Thank You! I bought a G5 from someone on Ebay and they would not return my email asking for the Admin Password. So I borrowed a Mac OS X Install disc but it still asked for the password when I hit restart. Holding Command-C during start up gave me weird bad messages. Then I went searching for answers and found your listing and between the JoseAranda method and the single user prompt method I figured it out. Truly not sure what exactly worked but I tried all of it, even resetting everything thru the single user prompt. Not even sure if any of it worked. I ended it up trying to change the password with the old password spot blank and it let me change it. So, everyone might want to make sure the old password isn't blank. Thanks for everything!

Posted by: Regina at August 21, 2007 2:25 PM

i have bought a mac second hand i bought it cause it was a good deal at the time but there is a admin user and pass does anyone know how i can get the install disk i cant find one anywhere

Posted by: macrules at August 24, 2007 9:35 AM

I tried this with an xserve running OS 10.2.8 and it runs server assistant on rebot and will not let me change the password or create a new admin acccount.

Any ideas for this issue?

Posted by: Harlan at August 28, 2007 3:53 PM

it worked for me. thanks so much. this is so frustrating but these cites help elucidate almost anything

Posted by: Shaun at August 31, 2007 4:10 PM

i need to reset a password on the new imac (running tiger) but when i try the steps above, it asks me for the admin password bfore i can restart and install. help?

Posted by: neo7685 at September 2, 2007 5:05 PM

I found an old g3 on the side of the street and I'm trying to hack into it. I put an old jaguar disc in and it seemed to have ate it. Now i am arcin around tryin to figure out how to break into it. I was going to make it into a fish bowl, but curiosity has got the best of me. Plus the computer has airport card and a full plate of ram(not sure how much though, decided to leave it put for the time)

I am really just a huge nerd tryin to figure out how to get into it. My jaguar disc was scratched so i dunno why it won't eject, and my tiger disc is DVD which i don't think is compatible with old G3s.

Maybe i'll put it into firewire mode...atleast figure out the admin name that way...

Posted by: i,devbot at September 5, 2007 4:55 PM

it worked without the cd... i have been dealing with this for over a year and a simple page like this helped me out in minutes THANKs... you have no idea...

Posted by: Albert at September 7, 2007 4:20 PM

I have an imac gs command and s do not work during start up it runs 9.2, and i dont have the cds, i have upgraded the ram sdram already from 128 to 300 something now so i can run 10.4 but i need to get rid of the administrative passwrod first, so what should i do is there a different way for this to occur????? help please!!!!!!!

Posted by: ken at September 13, 2007 2:30 PM

/sbin/fsck -y [Enter]
/sbin/mount -uaw [Enter]
rm /var/db/.applesetupdone [Enter]
reboot [Enter]


I tried this command also, using "command + s" while booting and it's true...thanks to this forum.

Posted by: al at September 14, 2007 12:10 PM

to all,
i need help, the password in admin is already reset,but now i want to install application like zip extractor and the file extention is .zip and where i associate the file? I tried many times but no one can open the file, only the update application should be installed on my ibook.

Posted by: pcmac at September 14, 2007 12:18 PM

i trie the Josearanda cmd-S thingie except i can'T get as / in there... the keyboard keys are messed up in that mode

Posted by: skillzflux at September 17, 2007 8:06 PM

i did what u guys said about adding a new user it worked find but it wont let me delete the first user....or how do completely erase the hard drive with out the disc is that posssible

Posted by: pork at September 18, 2007 2:59 PM

It seems like the advice your giving isn't accurate, in order to restart the Mac Os X Tiger installation, you MUST enter the administrator password, which, of course we do not know, othewise we wouldn't be on your website right now!
Thansk a lot for your tip !

Posted by: Stephane Ledan at September 30, 2007 10:39 AM

We have laptops at our school with Mac osx 10.4.9. It has high security on it although I would like to reset the admin password so I can unlock the I-Sight to record my band practicing and concerts. If you could please help me out, I am downloading a osx Cd just for admin reset only but from what I've read it might not work. It is an I-book 2006 may you please help me out?

Thanks Matt

Posted by: Matt at October 2, 2007 5:19 PM

Johnathan Eastman

"There is no password" = spoon

"always..." = remember (??)

Posted by: JD at October 9, 2007 12:11 PM

Restart your machine while holding down the Command Key (or "Apple Key") and the "S" key. This will start your Mac up in "Single User Mode."

Now it's command line time.** Don't worry, it's just three lines:

#sh /etc/rc
#passwd yourusername
#reboot

If your system stops responding after the first command (sh /etc/rc) just press enter and carry on with the second command

Posted by: k i s h at October 11, 2007 4:44 AM

i'd like to know what it means to hold down the main power on the unit and not the keyboard,the unit stands for which part.thx

Posted by: Charbel at October 12, 2007 4:03 PM

Hi all, ive been reading a lot of methods in the last 3 days because y run al PC computer repair shop and someone got me a macbook and they dont know the password so i read about the COMMAND+S method and did not work for the computer and i called a cousin who works with macs for help she told me had the same problem but the methods above did not worked either so y read a lot more and discover she had version 10.3 and i found someone named Baxter wrote this..
Reboot and press command + s

EXCLUDE THE QUOTATION MARKS, but make sure to type in the spaces.

First type in: “/sbin/fsck -y”

Followed by: “/sbin/mount -uw /”

Then, type in:

“/usr/libexec/register_mach_bootstrap_servers /etc/mach_init.d”

Next: “cd /var/db/netinfo”

Then: “netinfod -s local”

Followed by: “SystemStarter”

Finally, type: “passwd root”

You’ll be asked to come up with a new password. If you want to change a login’s password, substitute ‘root’ with the username.

After that, type “reboot”

Remember, to EXCLUDE the quotations marks, but type in all the junk inbetween –even the spaces!
this worked for mac os x 10.3

my probles is i dont know a lot about macs and command + s just dont work on this macbook any sugestions would be appreciated

Posted by: Chule at October 12, 2007 7:42 PM

hi, i do have powerbook g4 and i do have mac ox s 10.4 tiger but i can't reset the admistrative password. my dvd rom is not working that's why c key is not useable. it's goes all the time on adminstrative username and password. please help me here. i am from South africa and not a lot of help is available regarding mac system
pl pl help me and givem me some help
thanks in advance.
hussain

Posted by: hussain at October 18, 2007 8:54 AM

Uhm, I was sittin around and i put a disc into my mac and it doesnt read it and on top of that it won't eject what do i do

Posted by: MacTroubles at October 21, 2007 10:19 PM

ok i done the new user thing and i deleted the admin..now i didnt fully delete him i made an image of what the user had on his account. So how do i crack that password?

Posted by: Darryl at October 23, 2007 2:31 PM

Thanks Dave your site has helped me out alot.

But I really would like to thank Jose Aranda.
Jose you are the mother fucken Man!!!!!!!!!

Posted by: Brandon Burns at October 25, 2007 7:21 PM

I have a similar - but NOT similar - problem. I just installed leopard, and now my admin password doesn't work. I reset it via the CD over and over again, and the system still won't unlock for me, so I cannot make any substantive changes. Also cannot create a new user. Tried logging out and in, no luck. Any thoughts? If someone posts, please email me as well.

Thanks!

Posted by: Eric at October 26, 2007 11:43 PM

I have a G4 with no password . I have tried JoseAranda method but it gives me the following messages.
singleuser boot --fsck not done
root device is mounted read-only
if you want to make modification to files ,
run '/sbin/fsck -y' first and then '/sbin/mount -uw //'
local host :/root#


Then nothing happens and keyboard won't allow me to type anything.
Another Question Will I I be able to install the OS X that came with my Imac on this G4.
Thanks
Pablo

Posted by: pablo at October 27, 2007 1:46 PM

Same thing for me Eric. I switched to Mac two years ago and it's been smooth sailing. Now I upgrade to Leopard and I have spent hours trying to figure out why I can't add a certain printer driver, add software. All because it's asking for a admin password and it won't take it. Uggggg

Brad.

Posted by: Brad at November 2, 2007 11:34 PM

i have a emac running panther and reset the admin pword as per joseArandas method, worked fine, setup new accoung etc. switched the computer off, then next day went back to continue my assignment and im getting the blue screen when starting up, ive tried various methods including the same one from josearanda again, however it says that the .applesetupdone doesnt exist!

Posted by: johnny smit at November 5, 2007 5:47 PM

I have tried the following steps:
/sbin/fsck -y [Enter]
/sbin/mount -uaw [Enter]
rm /var/db/.applesetupdone [Enter]
reboot [Enter]

When it then rebooted, I get a screen with an apple in the middle and some groovy music. Then the music fades out and it doesn't do a darn thing. No response from the keyboard, no response from the mouse...nothing. Any thoughts? This is my client's wife's computer. One day when she went to use it, it asked her for a username and password at bootup and it had never done that before. She tried EVERYTHING she could think of and got nowhere. Before I tried the above steps, at least I would see the username password field, now nothing. Help is appreciated, thanks. If someone actually has the answer, I'd be willing to send a little paypal your way. I'd like to get this taken care of for my client. Thanks.

Posted by: Steve at November 8, 2007 9:17 PM

TRYING TO CONNECT MY MACBOOK PRO WITH A DESKTOP G4 VIA 'CONNECT TO SERVER' LINKAGE. Acquaintance showed me how to do this when he was fixing my computer. He must have set the 'server' entry to a password, but I cannot recall it. Now I cannot connect to server. If I go with name, it asks for password. If I go with guest, it doesn't allow me to view any transferred files (says I don't have authority to view them). IS THERE A WAY TO RETRIEVE THE PASSWORD OF 'Connect to Server'? I've already tried my administrative password, but it doesn't work. I've tried checking my Keychain, but it's not listed in there. I've tried every old password I can remember, but no ...... CAN ANY ONE TELL ME HOW TO RESET THE PASSWORD THAT CONNECTS TO SERVER?

Posted by: pam at November 9, 2007 7:52 PM

I have a PowerBook G4 with Mac OS X 10.3.9. My power adapter died on me like a month ago, and I tried to fix it 100 times, but with no sucess. When I bought new one 3 days ago, a realised i forgot my admin (mine) password. My brother has his acc, but it's not of much use to me. I trided to press S at the beginig but there is no effect, it regulary brings up login window and I can't change anything from this other acc without admin password. please help me...

Posted by: stephan at November 12, 2007 3:10 AM

I forgot to mention that the Time and Date are complitely messed up on the other acc, and also some applications are not working proprerly.

Posted by: stephan at November 12, 2007 3:14 AM

i just used jose's method, and now i am getting the circle with a line through it. What should i do?

Posted by: bobby at November 18, 2007 5:02 AM

Just follow the above commands. Do it over and over and you'll get it right. It took me about 10 times until I got it. It Works! just stick with it. Thank you all sooooo very much!

Posted by: Regina Alexander at November 20, 2007 3:40 AM

i have the same problem as bobby does. it does not even turn on, it goes straight to a circle with a slash through it. need help

Posted by: steve at November 21, 2007 9:06 AM

Thanks soooooo much! Jose's method worked. REMEMBER THERE IS A SPACE AFTER "rm"

This worked great i have a new user and im the new owner of the macbook. Now how do i remove the old user? Not realy needed im installing leopard 10.5 hopefully but just curious..

Thanks for everything EVERY post was beneficial.

P.S. I couldnt install anything because i didnt have the password which is why i used Joses method

Posted by: username1 at November 26, 2007 9:12 PM

I am too locked out of my admin password and for the life of me I can't find the first disk of my install. So I tried your suggestion:

I restarted the computer by holding down Command-S

When It finishes, it does not give me the chance to type a command, because it is asking for a password right there. I can't get past it. After three tries if reboots the computer again. How do I get past this password, is there a default system password that it is expecting???

Posted by: Thom Baxter at November 30, 2007 10:11 PM

cmd and s does not work for os 9 help

Posted by: iijo at December 3, 2007 11:08 PM

I have a shcool mac book, u dont need admin acsees to install programs, ok , download a program ctrl click it go to show package contense, go to info.plist open it with text edit hit apple+f
to find type the key word ''ident'' then right under it it should say com.example.program name (example: com.apple.itunes)

ok so change whatever is there to com.apple.calculator

then find a folder on the mac hd were you can read and write place it in the folder and open the program up

wala! poof its magic!

Posted by: nick g at December 4, 2007 7:47 PM

i tryed the mac install disak did every thing
it will not let me change admin password help please

Posted by: richard at December 10, 2007 3:34 AM

Ok here is the problem, I did the reset password thing and I lost all my network configuration..now is there a way to restore the previous files so I can write them down so I can know them and then change the password...I think this is called restoring? anyone help please I can not connect to the internet

Posted by: mike at December 10, 2007 10:24 AM

When I enter Single User Mode it asks for a password. None of the keys on my ibook work here except for "enter."(I can log in as a standard account and the keys work.) I have tried a usb Mac keyboard and got the same results. I have also tried resetting the pram and clearing the nvram without success. Any ideas on what's going on?

Posted by: jonathan at December 10, 2007 6:03 PM

the password dosent show up, its not supose to, type the pass and hit enter

Posted by: nick g at December 10, 2007 11:23 PM

This may help some peopleJust figured it out after many hours of playing with it. Leopard reset a friends admin username and password when he upgraded. Nothing would work and for some reason we couldnt boot from the installer to get into utilities. We tried everything apple c,s, apple option o-f. Nothing.

It turns out my friend managed to set the open firmare password without realising its implications. Due to that, it wasnt possible to boot into single user mode with command-s. 

It seems to be a problem with some macs that when people upgrade to leopard it resets their admin username and password. Because it does this you have no access to anything.

To access the open firmware password screen, you have to reboot holding down the Alt (option) key.  Then type your password, you will be able to access the leopard disk then, where you go to utilities to reset your admin information.

Hope this helps some poor unfortunate

Posted by: tradman at December 14, 2007 10:53 AM

jose's method really work!
btw i'm using mac and what software u guys use to watch movie?
some file can't open when i use vlc,any comment please
thx

Posted by: ax at December 15, 2007 3:58 PM

The code below worked for me a treat. After months of trying to get restrictions moved so that I could use the mac book pro G4 to its full capability. I used the instructions below and set up another account where I could put in my personal settings.

Thanks a bunch. Merry Xmas

for all of you commenting "sudo passwd root". This is not a true *nix authentication system. What I mean is the login application does not authenticate against /etc/passwd or /etc/shadow. It uses the NETINFO DB. So, "passwd will not work" it will just change the password in /etc/shadow and give the user 2 passwords in two different locations!!!!! you could also just rename the old applesetupdone file instead of removing it. So that upon boot if it does not work for whatever reason, you can at lease rename it back.


/sbin/fsck -y [Enter]
/sbin/mount -uaw [Enter]
mv /var/db/.applesetupdone /var/db/.applesetupdone.orig[Enter]
reboot [Enter]

and when you boot backup just change the other admins password to something new and reboot and login as that user. After which it might be best to remove the new admin account.

Posted by: comonpeople at May 23, 2007 12:39 AM

Posted by: Pox at December 19, 2007 4:31 AM

I'm new to this site That being said, I have a big problem. I recently bought several imac g3's that won't boot up past the osX {unknown version} admin login window. They are snow dv 600 & 500 mhz, grafites 500 mhz and rubies 450 mhz {if it makes a difference}.

HERE IS WHAT I'VE TRIED WITH NO SUCCESS:

1. Pressing the "C" at startup with osx
v 10.2 and v 10.3.5. install cd's.
2. Pressing control-S
2. Holding down the start button for 5 to 10
seconds and pressing it again.

If anybody can help me out I would really welcome it. Thanks

Posted by: Raul Escamilla at December 20, 2007 8:38 PM

Hello, my dad's old roommate let me borrow his mac osx even though he didn't know his password and he's given me leeway to find a way to get into it without messing up his own files...
i tried this, but the trouble i think is, is that i changed his user password but then i went on to change the system admin Root password as well.
so now the computer turns on and sits there with it's loading bar screen, and won't startup.. any ideas??? please?

Posted by: Jonny at December 23, 2007 3:51 PM

I recently bought a used G4 for my son and have the same problem with the password. We havent tried the suggestions yet because we arent using a Apple keyboard so I dont know what COMMAND S is. Does that correlate to something on a standard keyboard??

Posted by: Ritchie at December 25, 2007 5:19 PM

Hi there Im an owner of an Ibook G3 with MAC OS 10.2.8 ( jaguar.) I recently just purchased new software off ebay to update my computer ( i bought panther and tiger.)

When I first tried downloading panther it says I needed my password, wahoo.

I tried following JoseAranda's post from September 9, 2006 but whenever I restart my ibook and I hold down the apple key and s NOTHING happens.

Suggestions plealse?

Posted by: Alex at December 27, 2007 6:45 PM

I have the same problem as Ritchie above. I have an Apple iMac indigo, but it doesn't have an apple keyboard so I'm having issues figuring out what the command key is. Please help!

Posted by: Shine911 at December 29, 2007 6:25 PM

I recently bought an Apple iMac G3 indigo at a moving sale and can't even use it. I have never used a Mac and don't know where to begin. As soon as it starts up it goes to 2 user names (no guest account) and you have to enter a password. The problem is I wasn't given any passwords or disks or keyboard for that matter. I tried previous post solutions on here to no end. I don't have an apple keyboard, so the command key is drawing a blank with me. Does anyone have any suggestions? Please help, my kids would like to use the computer.

Posted by: Shine911 at December 29, 2007 7:31 PM

I recieved a new macbook and the person that gave it to me forgot there password tried the OS installation but only recieved a blank screen, how can I get the password reset for the main administrator?

Posted by: Need Help at December 29, 2007 9:44 PM

Hi,
I am trying to do an OS update from 10.38--> 10.4
I put in the CD and it keeps popping out?
What can the problem be?

Posted by: Ross M at January 3, 2008 8:44 AM

When you click restart you have to authenticate it with your password....

Posted by: Ashley at January 5, 2008 1:13 AM

I just purchased a OS x with Leopard operating system. It is rejecting my administrator password (I'm sure it is correct!). When I follow the instructions to reset the password using the install disc it gives me the message "The password you entered has not been saved for the user system administrator (root). You may not have permission to edit this disc or a general failure has occured.
Please help with ideas as I cannot install any updates or new programs.

Posted by: Lissa at January 13, 2008 3:25 PM

I followed the suggestion for resetting passwords using the OSX
Install Disk. I changed all of the passwords inclusding the root.
I now have a new account labeled "other." I lost all of my settings and files. Found them in backup but all of my mail and so on are now gone...Help?

Thanks!!

Posted by: Dan rasmussen at January 23, 2008 9:10 AM

Hi

Really this forum is very use-full for MAC users.

Thanks
M. Sridhar

Posted by: M. Sridhar at January 28, 2008 9:23 AM

Hi, I have the mac os X install CD (tiger) and I do everything you said to do. The part with the picture and the Restart button is where my problem occurs. I click on REstart and it asks for the password that I have yet to reset, someone help please..

Posted by: Alex at February 2, 2008 5:00 PM

Hey, I got a flashing question mark on this system my uncle gave me and learnt it was as a result of an openfrimware password on it. I reset it by using an additional DIMM and it's now bootin to the log-on screen. I dont have the admin password and it wont boot from CD/DVD by pressing C. I also tried the command-S too but didn't work. What can i do?
Very much thanks

Posted by: Sean at February 8, 2008 1:46 PM

My school purchased several Macbooks last year and upon graduation they allowed the students to purchase it for reduced fees, it came with an instruction sheet on how to unblock all the programs they disabled, but i've lost the sheet and cant find it, i try'ed the command-s method but nothing happens they've blocked that as well, i cant download anything, cant afford to buy any cd's for the thing, and i don't know what to do, i'd thank you greatly for some advice on this matter.

Posted by: michael at February 11, 2008 11:11 PM

I have the same experience as alex. So this reccomendation does not seem to work im our case. What to DO??

Posted by: joshua at February 15, 2008 12:49 PM

hi dave,I have the same problem as lissa posted on 13th 2008 please help? p.s i am not very good on computers

Posted by: john holroyd at February 19, 2008 12:24 PM

i have a mac book g4 and i have no password no disk and tried rebooting it while pressing command s and tere is nothing that happens the sign in scrren appears again ..... hwta is there to do ...... i dont have any other ideas....

Posted by: shayne at February 19, 2008 2:51 PM

I HAD THE HARDEST TIME RESETING MY PASSWORD... SO HOPEFULLY THIS SOLVES ALL PROBLEMS ABOVE.

I have a new Mac book
Was OS 10.4
Now OS 10.5

This following method does work
-Shutdown your computer
-Power you our computer, and hit the Apple Key and "S" until text appears on the screen.
-There will be a black screen with text, and at the bottom you will see "something something" root
-Enter the text below....
/sbin/fsck -y [Enter]
/sbin/mount -uaw [Enter]
rm /var/db/.applesetupdone [Enter]
reboot [Enter]

in the 3rd line, MAKE SURE THERE IS A SPACE BETWEEN RM AND THE SLASH... so "rm [SPACE] /var/db/.applesetupdone" this was I couldn't make any changes and it couldn't find the file...

hopefully this helps.

Posted by: David at February 27, 2008 12:09 AM

Alloc-mem request too big when I type in mac-boot so computer won't start don't know what to do???

Posted by: ben at February 27, 2008 1:00 PM

For whatever reason, I couldn't remember the Admin login or password. Reformatting would have been a solution however I never setup Time Machine and wanted to lose as little info as possible.

Using the disk, I had the same ironic problems as others, it wanted the Admin to restart... to reset the Admin!

After many attempts and reading that you have to put a space after "rm" in JoseAranda's solution, I finally got it working.

Thank you for helping with the Admin reset.

I now have an Admin account that I should remember and can use Time Machine for the first time! Doc Brown would be proud.

Posted by: akcook at February 28, 2008 2:35 AM

I was ready to buy a mac os X CD, but i was continuing readding, and i found this with out the CD to reset de admin possword,

/sbin/fsck -y [Enter]
/sbin/mount -uaw [Enter]
rm /var/db/.applesetupdone [Enter]
reboot [Enter]

thakns!!!

Posted by: Jorge Morillo at March 1, 2008 6:25 PM

OK this is the best resource that I've came across. I even got to delete other peoples accounts that they tried to set up and lost their password. Now I only have one password and no one can go on my laptop.

Posted by: Nicole at March 6, 2008 3:00 PM

I tried the whole I have an iBook G4 and it refuses to use fsck -y so i used fsck -f
and followed the other steps. Now i can't log on, it takes me to the setup page and does go beyond the keyboard settings page when it switches on

Posted by: Tshaks at March 11, 2008 1:03 PM

help me /// I was fooling around w/ security preferences in the get info dialog of the MACINTOSH HD and somehow set it to no access or something of the sort. My mac will not boot now, since its not allowed to use the drive. school projects due monday, need help / used CD, to reset permissions w/ disk utility, didn't work /

Posted by: adam at March 13, 2008 10:58 PM

i have an imac that i brouht on greg list in the box but i find out it was not that persons now am afraid to use it is there any way around that my brother tells me take it as a lost becouse it is tracsable is ther any way to reboot it and make it mine

Posted by: ben at March 18, 2008 1:18 AM

Id like to thank JoseAranda for his tutorial:
restart your computer, hold down Command-S and type in the following:

/sbin/fsck -y [Enter]
/sbin/mount -uaw [Enter]
rm /var/db/.applesetupdone [Enter]
reboot [Enter]

I have a don't ask, don't tell policy when i FIX a computer and when I got iMAC G5 (10.0 X) it had several users with passwords on them. I am not to familiar with MAC's, but I know these were "network" logins not locals logins. this works awsome

Posted by: alucard13 at March 21, 2008 7:04 PM

I bought Imac desktop and Im tring to install Tiger OS sofware and when I try to install it .. I click on the restart but before I can restart it asks me for an Admin password... I tried to create a new account but it wont let me because I need th password to unlock .... what do I do please help

Posted by: mike at March 24, 2008 2:30 PM

After a lot of tooling around on my G5, I figured out how to do this without the boot disk (provided you can boot, that is)

Do the following:

- shut down
- power up with the and s keys held down
you can let go when you see the text messages scrolling by
- at the command prompt, do the following:

/sbin/fsck -fy (takes a long time, but tells you what its doing)
/sbin/mount -uw /
/sbin/passwd root

Enter in a new password. Enter it in again.

Then type: reboot

I saw some people use the command SystemStarter. This will not work. Also note that the fsck command requires the -f in there to work as well.

Done. :) I now have r00t!!

Posted by: Karsten Johansson at March 26, 2008 10:46 PM

oops I put the COMMAND key in angle brackets... edit what I said to say this:

power up with the COMMAND and S keys held down

This works on power mac also. Not so much on the G4 with older versions of OSX, 'cos the commands are slightly different.

Posted by: Karsten Johansson at March 26, 2008 10:50 PM

Hi, i have a macbook. I cant make any changes from modifying my Hardrive to installing new software. It asks me to type in a Administrative user Name and password and i type my ONLY account in and it says it isnt. Then upon going to accounts in System Preferences, it says my ONLY account is a standard acccount and not a administrative. How do I fix this?

Posted by: Alexander at March 29, 2008 5:01 PM

i did everything to reset my password, went through the opening and then reloaded but now all i get is a blue screen. help please

Posted by: nick pop at April 10, 2008 8:59 AM

my mac g4 every time i restart a black screen with computer name ask for root# where & how to find or enter what #

thanks fa

Posted by: fa at April 19, 2008 1:43 PM

I want to tell all the people that are unable to reset password if the Darwin Security firmware is enabled. This goes completely agains my will but I do understand the situation.

How to by pass the Admin:

I don't care who you are and everything you try here, with all due respect to Dave, None of it is going to work.

The only thing that will work and I guarantee that it will, Please follow these steps:

1. get an exact macbook from friend with an unlock firmware admin.

2. Make sure that your friend has Admin rights

3. take his hardrive and put it in your mac

4. check if it boots

assuming it will.

5. Clone the Hardrive any way you can (I'm not giving this tip since it's illegal).

6. Give back your friend his hardrive or put the clone on his machine and do a CD install by pressing "C" With Desire OS.

7. You got your MAC Back.

Posted by: Carlos at April 22, 2008 5:27 PM

i have a g4 and don't know the admin password- don't need it to start up, just need it when installing- so i tried the solution below, and it created a new acct, but now i can't open the default account bec. it's password protected now, whereas before it was the default acct that opened automatically- all my stuff is still on that! how can i unmake a new account- in other words, how can i reverse the code below so that the admin acct. is the only one and i don't have to use a password to access it?


/sbin/fsck -y [Enter]
/sbin/mount -uaw [Enter]
rm /var/db/.applesetupdone [Enter]
reboot [Enter]

Posted by: sab at April 22, 2008 8:35 PM

hello! jose aranda method works great, but my computer told me to do it that way:

/sbin/fsck -f [Enter] (not "y" like in original)
/sbin/mount -uaw [Enter]
rm /var/db/.applesetupdone [Enter]
reboot [Enter]

It would let u added and configure new account

Peace!

Posted by: jacek at April 28, 2008 4:23 AM

I have a lot to say, but ...
Starbucks coffee cup I have a lot to say, and questions of my own for that matter, but most of all I'd like to say thank you for all your efforts on this Web site by buying you a chai!

I do have a comment, now that you mention it!









Remember personal info?


Please note that I will never send you any unsolicited commercial email. Ever.

While I'm at it, please note that by submitting a question or comment you're agreeing to my terms of service, which are: you relinquish any subsequent rights of ownership to your material by submitting it on this site.









Search
Find just the answers you seek from among our 1700+ free tech support articles by using our Lijit search engine.


Help!





Subscribe to
Ask Dave Taylor!

Add to Google Reader
Add to My Yahoo!
Subscribe in NewsGator Online

RDF   XML

Free Updates!
Sign up and get free weekly updates and special offers on books, seminars, workshops and more.


Recent Entries
Join the List!
Join my author info mailing list, where you'll learn about my upcoming books, speaking gigs, and more!


Book Links
© 2002 - 2008 by Dave Taylor. All Rights Reserved.

Note: This web site is for the purpose of disseminating information for educational purposes, free of charge, for the benefit of all visitors. We take great care to provide quality information. However, we do not guarantee, and accept no legal liability whatsoever arising from or connected to, the accuracy, reliability, currency or completeness of any material contained on this web site or on any linked site.

[whiteboard marker tray]