How to reset admin password in single user mode

How do I reset and admin password in single user mode. All the posts I have read so far dont work. I tried adding a new admin password as posted on the forums by deleting setup so it will setup like it was first time setup but that didnt work . Any suggestions would be appreciated.
The account now only has the standard user account as admin. Admin account I deleted in trying to fix this problem.

1 - Does it boot into Leopard?
2 - Does it have any important data on it that is not backed up elsewhere?
It it boots into Leopard you could continue using it and hope that you find your Leopard install disks later or discover some other way to overcome the lost password.
If it is fully backed up or has no important data on it you could install Tiger.

Similar Messages

  • Resetting the Admin password in single user mode

    Ok, my friend bought an old Imac from someone she went to school with with OS 10.4.2 on it. It works fine except that she can not install any programs because there is an admin password that she does not know. She asked the person she bought it from, he says he doesn't even remember setting a password. Normaly with this issue id just pop in the install disk and reset it from there, except neither of them have the install disk, and my install disk is to current for the machine. Does anyone know how I can reset the admin acount using single user mode commands? I can do it on my Mac Book pro but it doesn't seem to work the same way on 10.4. Please help!
    EDIT: It is a Power PC G3 if that helps.
    Message was edited by: CartooNxHerO

    CartooNxHerO wrote:
    Ok, so I used the advice from the third link you gave me but i'm still in single user mode trying to figure out how to delete the users home folders.
    Message was edited by: CartooNxHerO
    You do not need to delete "the users home folders". Nor do you need to delete the netinfo database. Here are two proceedures:
    Change Password
    Mac OS X:
    Changing or resetting an account password via GUI:
    Resetting a user's password
    Resetting the original administrator account password
    http://docs.info.apple.com/article.html?artnum=106156
    You do not have a CD/DVD
    Changing password from single user mode:
    You can also change the administrator's password from single user mode or create a new administrator account.
    You need to get into single use mode for steps one and two that are listed below.
    This page will tell you how to get into single user mode.
    http://support.apple.com/kb/HT1492
    Basically, you hold down the command-s key then powering on your machine. The command key has a little apple symbol on the lower left. It is between the alt/option key and the space bar. On a PC keyboard, it will be the windows key, I think.
    1) You can change the password on an account. ( Do you know Unix. You are in a Unix single user console. ) The setup commands you need should be listed on the screen. For Mac OS 10.4.11, the commands are:
    # Type the follow two instructions to access the startup disk in read/write:
    /sbin/fsck -fy
    /sbin/mount -uw /
    # Start up some utility processes that are needed.
    sh /etc/rc
    # You will probably need to press the return key once the system stops typing.
    # To find out the users on the system type, use the list command. The l is a lower case L:
    ls /Users
    # One of these accounts will be the administrator.
    # Pick one of the users which I'll call a-user-name and type it in this command:
    passwd a-user-name
    # and enter the new user password. You need six characters.
    # You will need to enter your password twice. Your typing will not show up on the screen just
    # press enter when you complete the typing.
    # For cryptic information on these commands try:
    man ls
    man passwd
    The root account isn't enabled by default. I am not sure if changing the password on root will enable it.
    2) Get the Mac to set up an additional administrative account. You can then change the password on your old account.
    Start with your computer power off. Hold down command-s. Power on your computer.
    Type in the following:
    The first two commands will depend on your release of Mac OS X. Look at what is typed out in the console to determine the exact format.
    # Type the follow two instructions to access the startup disk in read/write. Press return after each command.
    /sbin/fsck -fy
    /sbin/mount -uw /
    cd /var/db
    pwd
    #List all files. The l is a lower case L.
    ls -a
    #The move command acts as a rename command in this format.
    mv -i .applesetupdone .applesetupdone.old
    reboot
    Once you've done that the computer reboots and it's like the first time you used the machine. Your old accounts are all safe. From there you just change all other account passwords in the account preferences!!
    Limnos adds detailed explainations:
    http://discussions.apple.com/message.jspa?messageID=8441597#8441597
    The above the idea came from a post by JoseAranda at September 9, 2006 3:48 AM
    http://www.askdavetaylor.com/howdo_i_reset_my_mac_os_x_admin_rootpassword.html
    You will need to scroll down to see this post. Search for applesetupdone
    Or see:
    http://superpixel.ch/articles/running-setup-assistant-again/
    Once you have a new administrative account, you can change the password of your old administrative account
    blue apple > System Preferences > Accounts

  • Lost GlassFish admin password# how to reset admin password

    Hi
    i lost admin password in glassfish(     GlassFish Server Open Source Edition 3.1.1 (build 12) ) application server
    key-file stored in glassfish-3.1.1\glassfish\domains\domain1\config\admin-keyfile
    how i can reset admin password?

    Forgot Your Account Password
    For Lion, Mountain Lion, or Mavericks
        Boot to the Recovery HD:
    Restart the computer and after the chime press and hold down the COMMAND and R keys until the menu screen appears. Alternatively, restart the computer and after the chime press and hold down the OPTION key until the boot manager screen appears. Select the Recovery HD and click on the downward pointing arrow button.
         When the menubar appears select Terminal from the Utilities menu.
         Enter resetpassword at the prompt and press RETURN. Follow
         instructions in the dialog window that will appear.
         Or see:
           Reset a Mac OS X 10.7 Lion Password
           OS X Mountain Lion- Reset a login password,
           OS X Mavericks- Solve password problems,
           OS X Lion- Apple ID can be used to reset your user account password.
    For Snow Leopard and earlier with installer DVD
         Mac OS X 10.6- If you forget your administrator password,
         OS X- Changing or resetting an account password (Snow Leopard and earlier).
    For Snow Leopard and earlier without installer DVD
        How to reset your Mac OS X password without an installer disc | MacYourself
        Reset OS X Password Without an OS X CD — Tech News and Analysis
        How To Create A New Administrator Account - Hack Mac

  • How to reset admin password iMac

    I changed my IMac admin password and have now forgotten in and can't find my originàl discs to reset it. I understand you can reset it using apple ID but I can't work it out.  Can someone help me

    Forgot Your Account Password
    For Snow Leopard and earlier
         Mac OS X 10.6- If you forget your administrator password
    For Lion/Mountain Lion
        Boot to the Recovery HD:
    Restart the computer and after the chime press and hold down the COMMAND and R keys until the menu screen appears. Alternatively, restart the computer and after the chime press and hold down the OPTION key until the boot manager screen appears. Select the Recovery HD and click on the downward pointing arrow button.
         When the menubar appears select Terminal from the Utilities menu.
         Enter resetpassword at the prompt and press RETURN. Follow
         instructions in the dialog window that will appear.
         Or see Reset a Mac OS X 10.7 Lion Password and
         OS X Lion- Apple ID can be used to reset your user account password.
    If you are unable to boot from an installer DVD:
    (these will only work on Leopard or earlier)
      1. Boot to Safe Mode by restarting and after the chime press and hold down
          the COMMAND-S keys until a black screen with white type appears.
      2. At the prompt, type the following commands pressing return after each
          command line:
         /sbin/fsck -yf
         If you do not receive a "Filesystem OK" message then repeat this command
         until you do.  If after seven tries you still do not receive a "Filesystem OK"
         message, then the system is corrupted and needs to be reinstalled.
         mount -uw /
         cd /private/var/db/netinfo
         mv local.nidb local.old
         rm ../.AppleSetupDone
         shutdown -r now
    The second-to-last command above will cause OS X to think that the operating system is newly installed, and when the new owner starts up the computer it will send him/her to the startup wizard where he/she can start a new user without reinstalling.
    This last method does not actually change a password. It simply removes the user accounts and lets you create an initial admin account as if the computer were new out of the box.
    Reset Admin Password Using The Terminal
    You can reset the password by printing out (or writing down) and carefully following these steps.
    First, find the short name of the admin user on the machine. The easiest way of doing this is by looking at what the directory is called in the Users folder.
    Now, start in Single-user Mode. It should boot into a command line.
    Enter these exact lines. Press RETURN after each.
    mount -uw /
    ifconfig lo0 up
    cd /var/db/netinfo
    netinfod -s local
    Now you'll need that short name. Enter "passwd", a space, and the short name of the admin. For example, if the admin was rather prosaically called "imadmin", you would enter "passwd imadmin".
    The computer will now prompt you to change the password for "lmadmin" (or whatever the short name was). Go ahead and enter a new password.
    Now, enter:
    sync
    reboot
    and the machine will reboot. The admin password should now be changed.

  • How do change boot disk from single user mode?

    My G5 hangs when booting at the blue screen while "Loading printing services...". Attempting to boot into safe mode only hangs at the grey gear screen. It will, however, successfully boot into single user mode. I've run fsck but no change in bootability. I have another disk in the machine that has Tiger on it. How do I change the boot disk from the single user prompt?

    You can hold c and boot off the installer disk and select disk utility repair disk/permissions
    or you can hold option to boot off Mac OS X on another drive, like a clone and run Data Rescue to recvoer your files.
    It does sound bad, you can try going through these
    http://docs.info.apple.com/article.html?artnum=106464
    But I think you'll need a fresh install, hopefully you have been backing up/cloning to a external drive.
    http://homepage.mac.com/hogfish/Personal11.html

  • How format the hard disk in single-user mode

    Hi all, i would like to format the internal hard disk of my macbook pro 13'' through single-user mode. How can I do it, please?

    Ok, to do that you need to hold c and boot off the 10.6 installer disk and second screen in under the Utilities Menu is Disk Utility.
    You can then select the hard drive makers name (your "bare metal") and peform the wipe/format of the entire drive or a "partition" on that drive.
    In the picture below there is only one partition, the Mac HD. In the picture above there are two partitions which both would show up under the hard drive makers name and both or either partition can be wiped in Disk Utility.
    Use the Security Option to Zero your hard drive of all lingering data.
    When you Quit Disk utiltiy, your back in the installer and can quit or install OS X.
    Note: messing with Disk utility will erase all data on the drive, if there is something you need to recover better stop and ask!
    If you don't see your internal boot drive in Disk Utility, the drive is dead.

  • How do I get networking in single user mode?

    My MBP won't boot OS X anymore (it tell's me I have to restart my pc). This happend after I redid my boot camp installation. Anyways disk utility/fsck won't repair the drive but I can still read the files...
    Now whenever I try safe boot or run sh /etc/rc the machine panics/restarts. However single user mode has an ftp client and I have enough storage on a networked ftp server. Question is how do I get ethernet going without running sh /etc/rc?

    Enter the following command into the Single User mode prompt:
    ifconfig en0 up
    Try using the FTP client after running the command. It assumes the connection used is the built-in Ethernet connection; use en1 for an AirPort connection or fw0 for a FireWire cable. The 0 is the number zero.
    (11785)

  • I changed my wheel group properties to no access at top disk level.  I messed up, how can I change back in single user mode "command s" as I am now in Thailand and not able to access startup disks?

    I messed up, I changed my "Wheel group" properties to No Access ( or something other than the default) at the top level of my startup disk "Macintosh HD".   Now my computer won't start up, I just get the spinning wheel of death.    I also am in Thailand right now, so I cannot go to a Genius at an apple store, nor do I have startup disks available.
    So I was hoping there was a way to change back the properties of my disk (Volume) in single user mode (via Command +s) during startup, i.e. can I do a chmod command on the Macintosh HD listing under the Volume Directory.    Or where do i fix this?   Is it fixable without startup disks, etc...
    THANKS FOR ANY HELP!!!!
    If you could also please let me know you have an answer, I WOULD REALLY APPRECIATE IT!!! 
    thanks so much
    mark
    <Edited by Host>

    Thomas,
    Thanks for the info on command-R, didn't know about that!!!
    Yes I changed the sharing "Wheel Group" permissions on my hard drive via Get Info.    But that's all I did.    And then most of the apps wouldn't respond with anything.    So not knowing I did something stupid, I decided to re-boot, and then nothing but the Wheel of Death at startup.
    I was trying to limit access to my computer on this network, changed my public folder settings, and then I thought why not the whole hard drive, but at that time I had no idea what the "Wheel Group" was... so I shouldn't have touched it, BUT IT DID ...... argggggg....
    I managed to go to an internet cafe & research the problem yesterday.    I used the command +s single mode to get in, and then did the necessary steps to mount the drive so I could make changes.   I basically did this:
    Boot into single-user mode (boot while holding down CMD-S)
    Follow the on-screen instructions to mount the file system as read-write (a fsck command followed by a mount command)
    Type the following: "chmod o+r /" followed by "chmod o+x /"
    Type "exit" to leave single user mode and complete the boot sequence.
    I found it at this link http://forums.macrumors.com/showthread.php?t=416180
    It worked... thank God!!!   Well so far so good.   
    I was going to try my own fix by chmod on the Hard drive listed under Volumes directory, but that doesn't seem to match the info under Get Info Window.    So I just used the fix above.    I probably should now go and do "Disk Utility - repair permissions", however I am a little gun shy right now, so I will probably wait until I am back in the States so I can go to an Apple store if it messes up.   Right now I'm following the "if it ain't broke, don't fix it" MOTTO...
    So Thomas I just wanted to say THANKS for replying so quickly, and I really appreciate your help!!!
    (yes I know I shouldn't have used my email addresses, but I WAS DESPERATE, but that's still no excuse)
    Hopefully maybe this thread will help someone else out in the future....
    Okay, thanks again!
    Mark

  • How to connect to internet in single user mode

    I've got some startup problem and would like to connect to the internet in single user more for downloading patch. Can anyone help me? Thanks.

    To start up in single user mode press command-s during start up.

  • How to reset admin password

    I need SOS
    I need to know how to reset an admin password because I forgot mine!'
    SOMEONE HELP ME PLEASE

    Restart holding the Command and R keys, from the Utilities drop down, choose Terminal.  When Terminal opens, type exactly:
    resetpassword
    And press Enter.
    When the Resetpassword window open, highlight the admin account and toe a new password twice, do not enter a hint, and Save.  Accept the next dialog that open, and accept the reset of the user home directory permissions.
    Click the apple left side of the menu bar, Restart.

  • How to reset admin password osx 10.9.5

    need to reset my password for mac book pro can't find a hint...

    Resetting User Password in Lion, Mountain Lion & Mavericks
    Boot into your Recovery Partition by holding down the Command and R keys whilst booting.
    When the Recovery screen appears, go to the Utilities menu and open Terminal.
    In Terminal, type:
    resetpassword
    ...a small app will open and allow you to choose the user for whom you want to change the password. If you are the admin, be certain that you choose your admin user. Type in your new password twice and give yourself a good hint. Click OK (or Done or whatever) and reboot, enjoying the use of your new, hopefully memorable, password.
    Good luck,
    Clinton

  • How to reset admin password in os x yosemite?

    Hi,
    I just bought my macbook pro 3 days ago and I forgot what's my admin password
    Maybe im just too excited to set it up that i forgot what my admin password is. I can access my laptop completely im just having problems with installing downloaded apps, also with changing setting on System Preferences.
    Please heeelppp!

    OS X 10.7 Lion, 10.8 Mountain Lion, 10.9 Mavericks and 10.10 Yosemite
    Reset Password
    Start the computer,then press and hold down command and R keys to start into recovery partition.
    When you see the Apple logo, release the keys.
    Wait until  OS X Utilities window shows up.
    Move the mouse to the menubar at the top and click "Utilities", then select "Terminal"
    from the drop down.
    Terminal window will appear.
    Type in   resetpassword   and press enter on the keyboard.
    Leave the Terminal window open.
    Reset Password Utility window will open with Macintosh HD selected.
    Select the user account from the popup menu box under “Select user account”.
    Enter a new password.
    Reenter the new password for the user.
    Enter a hint.
    Click the "Save" button.
    Click  in the menubar and select Restart.
    Log in.
    If Keychain dialog box appears, select “Create New Keychain”.

  • Reset administrator password as single user

    Hi there,
    I need help in changing my administrator password as  a single user, please can you help?

    Hi Michael,
    Start up from Recovery, Command-R,
    Once into recovery. Utilities- Terminal.
    When Terminal opens simply type resetpassword and press return.
    This opens the Reset Password Utility.
    Select the Drive Containing the Account.
    Choose the name of the Account from the pop up menu.
    Enter and reenter a new password.
    Give yourself a password hint this time!!!!
    Click Save.
    Quit out of password utility and restart.
    Hope this helps.
    PJRS

  • How to reset admin password ?/ Comment enlever le mot de passe admin

    Hello, I bought a spa at 2102 Galaxy Telecom, I wish to unsubscribe from GalaxyTelecom. I wish to find how to remove or change the admin password to be able toreset my SPA2102. Thank you for your help!
    Bonjour, j'ai acheté un spa 2102 chez galaxy telecom, je souhaite me désabonner de chez galaxy telecom. Je souhaite trouver comment enlever ou changer le mot de passe admin pour avoir la possibilité de reconfigurer mon spa2102. Merci de votre aide !

    You'd need to check with your email provider for password reset options.
    You can then reset the password Thunderbird has remembered by following these instructions.
    http://kb.mozillazine.org/Setting_and_changing_email_passwords

  • How to change a users login password via single user mode, plus multiple issues?

    So, there is much to this Thread.
    (First Issue)
    A lil back ground, i'm working on a MacBook Pro 3,1 running OS X Tiger 10.4.(something, no idea), the The user has forgotten their account password. Now before you tell me to just change it through the Root Admin account, that account seems to have its own issues, the accounts do not show up in the system preferences, therefore not allowing me to change that users account password.
    (Second Issue)
    Once I'm able to login into the users account, is there any way to disable / erase / eradicate the key chain system?
    (Third Issue)
    All of a sudden the MacBook has lost all audio capability, both in the built in speakers and through the headphone jack.
    i'm open to any ideas, its currently 10:14am the user is wanting this to be done by 2:45pm please help i'm desperate and i don't want to be defeated by a Mac

    It's possible some of these things are related. I'd first do a basic verification of the computer's system.
    First, if at all possible make a backup of the drive in its present configuration. If something goes wrong during repair attempts and makes things worse you will have a backup. You will have to decide how to work this in the light of any present backups you may have, for example, a backup that may be a few days out of date. In that case you may want to keep that one and make a second backup of this as they are now, though I realize people often don't have a lot of empty drives sitting around.
    Boot from the System installer disc that came with your computer or is the one for the version you currently have on there, select language if applicable, choose utilities, run Disk Utility and verify (and repair if necessary) the drive. You can verify a drive from DU on your main drive while booted but I have found this can result in incorrect reporting of errors. To repair your drive you have to run it from a drive other than the boot drive anyway.
    Next, boot from your drive in [Safe Mode|http://docs.info.apple.com/article.html?artnum=107393] and repair permissions. You can repair permissions while booted from the installer disc but this uses the permissions configuration on the installer disc which may be out of date if you have run any updates on your computer. Booting your computer to Safe Mode restricts the number of things running on your computer while permissions are being run and does a bit of spring cleaning at the same time.
    [Resolve startup issues and perform disk maintenance with Disk Utility and fsck|http://docs.info.apple.com/article.html?artnum=106214]
    [Using Disk Utility in Mac OS X 10.4.3 or later|http://docs.info.apple.com/article.html?artnum=302672]
    [Disk Utility's Repair Disk Permissions|http://docs.info.apple.com/article.html?artnum=25751]
    From BDaqua (couldn't have said it better):
    "Try Disk Utility
    1. Insert the Mac OS X Install disc that came with your computer (Edit: Do not use this disc if it is not the same general version as what you have currently on your computer, e.g. use a Tiger disc for a Tiger drive, not a Panther disc), then restart the computer while holding the C key.
    2. When your computer finishes starting up from the disc, choose Disk Utility from the Installer menu. (In Mac OS X 10.4 or later, you must select your language first.)
    Important: Do not click Continue in the first screen of the Installer. If you do, you must restart from the disc again to access Disk Utility.
    3. Click the First Aid tab.
    4. Click the disclosure triangle to the left of the hard drive icon to display the names of your hard disk volumes and partitions.
    5. Select your Mac OS X volume.
    6. Click Repair. Disk Utility checks and repairs the disk.
    Then Safe Boot, (holding Shift key down at bootup), run Disk Utility in Applications>Utilities, then highlight your drive, click on Repair Permissions, reboot when it completes."

Maybe you are looking for

  • Explain plan for a sql statement

    Hi, I have a simple sql statement which has a cost of 122, cardinality 59 and CPU cost 1966777. Same sql statement written in another way (using a nested select in the 'from' clause), has a cost of 58, cardinality 24 but cpu cost is much higher 29078

  • Authorisations to search in PPOME

    Hello Experts, I am facing a peculiar issue where when i am trying to search for an employee under an org unit i am getting a message saying that "Result list is incomplete due to missing authorization". As a turnover, i have enhanced the FM 'STRUCTU

  • Firefox browser keeps closing without warning. How do I fix this?

    Below are my most recent crash reports: <pre><nowiki> bp-3c859da1-7901-420c-bc18-66ec72140212 12/2/2014 7:16 PM bp-d32f5f09-01bf-4c80-9852-b59862140212 12/2/2014 6:32 PM bp-7aec105d-603c-4085-b0b4-31af82140212 12/2/2014 9:21 AM </nowiki></pre> -The p

  • SetQueryTimeout throws java.sql.SQLRecoverableException

    Hi, We are facing few issues while using setQueryTimeout in the Statement Object. setQueryTimeout is not throwing the SQLException: User requested cancel operation. instead it retrieves the resultset and iterates inside the while loop, for 10 records

  • Systems prevents assets from being over depreciated?

    Systems prevents assets from being over depreciated, that is to say, the system doesn’t allow net book value to go below zero.