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

Similar Messages

  • 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.

  • How to reset the admin password for Mac OSX 10.5.8

    I have a 2008 Macbook Leopard version of the Mac OSX 10.5.8.  My DVD optical drive does not open, and I need to reset the admin password because we have forgotten what it is.  Wondering if it is possible doing it at home some step by step process I am fine with deleting all the contents saved on the macbook as well.

    Not without the optical drive. You would need to insert the install disc to reset the admin password.
    But you may be able to do this in single user mode >  10.5: Reset a user's password in single user mode - Mac OS X Hints

  • How do I reset the admin password on MacBook Air

    Does anyone know how to reset the admin password on MacBook Air ?

    OS X 10.7 Lion, 10.8 MountainLion & 10.9 Mavericks
    Reset Password starting from Recovery HD
    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.
    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”.

  • I bought a used Macbook that came with the OS 10.7 upgrade, How can I reset the admin password?

    How can I reset the admin password I don't have the old password. I bought it used and the disk's it came with are OS 10.5 how can i get this password reset without losing any of the upgrades or files?

    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.

  • My Macbook is running on OS 10.5.8. However, I forgot my admin password. I would like to find out if I can use OS 10.6 CD to reset the admin password while upgrading OS? Also, will all my files be still present after upgrade??

    My Macbook is running on OS 10.5.8. However, I forgot my admin password. I would like to find out if I can use OS 10.6 CD to reset the admin password while upgrading OS? Also, will all my files be still present after upgrade??

    1. Should be possible to do that; go to the Utilities menu and select 'reset password' before starting the installer. (while booted from the DVD of course)
    2. Standard installation of SL only replaces system components; applications, user data and preference settings should not be affected.
    3. But you do have a backup just in case, don't you?

  • What is the font used within Single User Mode (CMD+S)?

    Upon holding Command + S, you'll be taken to what's called "Single User Mode", where a black screen with a bunch of white text appears. Does anyone know what the font here in this mode is called?

    Everett
    To mount a disk in 10.3.9, look at the first part of this FAQ: Resetting the System Immutable Flag in 10.3.
    You will need to replace the "mount -t hfs" with "mount -t msdos", but I don't know if you would need further options.
    If you can find a 10.4 system, it may be easier, since "autodiskmount" appears to work again. See: kmosx4: Resetting the System Immutable Flag in OS X 10.4

  • How to find/reset the admin password?

    Hi,
    I'm new to this. The admin userid/password that was successfully used in the past in not being recognized now.
    I was trying to log in to Adobe LiveCycle ES ver 8.2 from http://localhost:8080/adminui/login.faces and receive the message "Username and password do not match".
    Is there a way for me to reset the userid/password ? I cannot reset a user's password before accessing thie admin account first.
    Any help is appreciated.
    Thank You.
    Yajiv

    Some people have had success in LC ES 8.2 with running the following SQL statement on the LiveCycle backend database.  It re-sets the password of the 'Super Administrator' user to 'password':
    UPDATE adobe.edcprincipallocalaccountentity, adobe.edcprincipaluserentity
    SET  password = 'TXScDjEEQCzWccUMUdf8wijx/hE=', salt =  'JNIBnmos3d0WE9W8oquFIQ=='
    WHERE  adobe.edcprincipallocalaccountentity.refuserprincipalid =  adobe.edcprincipaluserentity.id and adobe.edcprincipaluserentity.uidstring =  'administrator';
    adobe  = the schema name
    This is risky - if something goes wrong, you will have to re-bootstrap.

  • 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.

  • HT1492 Does anyone knows how to change the keyboard layout in single user mode, please ?

    Hello,
    The question is in the title.
    Thank you.

    The only way you might do it is use one of the Unix editors to edit the plist file it gets the settings from once it boots in the GUI mode.  'vi' is present in all Macs, and you might have pico, nano, emacs, or ed depending on what was installed. The keyboard layout while in single user mode itself I think is generic to where the Mac was bought and what keyboard was ordered with it, when it came from the store.  Since you posted in the 10.3 or earlier forum, chances are if this has changed, few people would know for certain.  If you have a newer Mac, say 2006 or later, you should really post in the correct forum:
    http://discussions.apple.com/docs/DOC-2463

  • How to restrict the all access ? Single user mode....

    I am doing export/import of schema objects from Windows to Oracle. How to make sure when I do the export in the migration database no one else is modifying the data. Is there any single user mode so that I can be sure of only one connection while exporting?
    Oracle 10g R2 on Windows Server.
    Thank you,
    Smith

    Perhaps you are not familiar with the concept of multi-version read consistency.
    No one can see that which is not committed and reads can never be blocked.
    If you want a system where no one can see things kill their sessions and do a STARTUP RESTRICT.

  • Reseting the admin password

    I need to update my macbook systems. To do that I need the admin password. I forgot my admin password. My mac says I need to use the installation disk to change my password, but would that delete everything in my account like microsoft word and all my songs on itunes? Please answer quickly because I want to by a game called spore and it requires the version 10.5.3 and I have version 10.5.2

    kenny ha,
    When I put in the Mac OS X install disk 1, i get the four icons. one saying, " install mac os x and bundled software", the second saying " install bundled software only", the third saying "optional installs", and the fourth saying "instructions". which one do i click to change my admin password. when i click either of the first two it says to enter my name and password but i dont know my password. PLEASE HELP!

  • I reset the admin password, a month ago and it worked fine now it don't and I can't reset it because it 's asking for the old password.t

    I wrote the Pasword down and saved the password info. I successfuly reset my admin. p.w. and now a couple of months later it won't allow me access and it won't access the reset password

    Boot from the Install DVD.
    See "Resetting the original administrator account password"
    http://support.apple.com/kb/HT1274

  • 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."

  • Back up files through Single user mode

    Hello there,
    it seems that I have problem with my hard drive. I tried to repair it with disk utility and the fsck command in Single user mode with no luck. The fsck command gives me the "Exited with signal 8" message and it won't start up the usual way or under Safe boot so I came to the conclusion to back up my files on an external drive and reinstall the system. I need step by step instructions how to back up the entire hard drive onto the external drive in Single User mode.

    Do you have another mac with firewire?
    Try target disk mode.
    If you have a second Mac computer, you may want to try to copy over as many files you can. One way is to use target disk mode.
    http://support.apple.com/kb/HT1661
    http://lowendmac.com/misc/06/0710.html
    This requires you to use your installation disk. With errors from fdsk, I do not think you will be able to copy all directories. I used a flash drive. A harddrive should be the same. To copy everything, use the directory /Volumes/Macintosh-HD
    You may try to recover your data by booting up an installation cd/dvd and using the terminal.
    You could try getting into the Unix command line interface and copy some files or directories.
    You can copy files on the Unix command line interface if you placed the flash drive the USB port before powering on your machine.
    Boot up your installation CD or DVD. To do this, place to the CD or DVD its drive. Power off the the machine. Hold down the c key then power on your machine. After you specify the language you will come to the installation panel. Do not install. Go to the top of the screen and click on the tools menu item. Click on Terminal to use the command line interface.
    You should verify that the files have been copied correctly by trying them in another Mac before it the deleting the original.
    *Here is an overview of the commands.*
    Lets assume that the problem account has a short user name of mac.
    #Copy directory "/Applications/Applescript files" to
    # directory "/Volumes/Spotless/Applescript files".
    # "Spotless" is my flash drive.
    ditto -X -rsrc /Applications/Applescript\ files /Volumes/Spotless/Applescript\ files
    #cd is change directory
    cd /Volumes/COPYIT/answers/
    # pwd is print working directory
    pwd
    #the ls command is for list
    # l is long
    # a to show hidden files. not shown in this example.
    # F is type of file where / is directory
    sh-2.05b# # Please note ls is the list command. l is a lower case L
    sh-2.05b# ls -lF
    Here is what these commands mean:
    cd is change directory
    pwd is a print working directory
    ls is list
    sudo is Super user do
    # The sudo command will ask for your administration password. No characters will appear when typing your password. Press return when done typing.
    cp is copy
    copy a file example:
    sh-2.05b#
    sh-2.05b# cd /Volumes/Macintosh-HD/Users/mac/desktop
    sh-2.05b# pwd
    /Volumes/Macintosh-HD/Users/mac/desktop
    sh-2.05b# cp -i answers.txt /Volumes/SpotMore
    Will copy the file answers.txt in the directory SpotMore.
    Some files have a space in the name. You need to escape. see example:
    mac $ ls -l ~/"see it"
    -rw-r--r-- 1 mac staff 3171 Oct 26 23:38 /Users/mac/see it
    mac $
    mac $ cd /Users/mac/Desktop/ttt\ html\ copy/
    Do you know about tabing? Type in a few letters of a name then press the tab key. The computer will type out the rest of the name if it is unique.
    The up arrow key will retrive the previous command. You the left arror and right arror keys to move around. Use the delete key to delete a character to the left.
    <eol>
    *More examples and moving around*
    sh-2.05b# pwd
    sh-2.05b# ls /Volumes
    .Trashes        Classic                Macintosh-HD
    ._.Trashes      Mac OS X Install DVD   SpotMore
    sh-2.05b#
    sh-2.05b# df -h
    Filesystem      Size   Used  Avail Capacity  Mounted on
    /dev/disk4s3    2.6G   2.5G    89M    97%    /
    devfs           121K   121K     0B   100%    /dev
    fdesc           1.0K   1.0K     0B   100%    /dev
    <volfs>         512K   512K     0B   100%    /.vol
    /dev/disk5      467K   9.0K   435K     2%    /Volumes
    /dev/disk6       95K    64K    27K    70%    /private/var/tmp
    /dev/disk7       95K    14K    77K    15%    /private/var/run
    /dev/disk3s1    3.7G   1.3G   2.5G    34%    /Volumes/SpotMore
    /dev/disk0s10   1.1G   1.1G   3.4M   100%    /Volumes/Classic
    /dev/disk0s12    70G    45G    25G    65%    /Volumes/Macintosh-HD
    sh-2.05b#
    sh-2.05b# cd /Volumes/SpotMore/
    sh-2.05b# pwd
    /Volumes/SpotMore
    sh-2.05b# # Please note ls is the list command.  l is a lower case L
    sh-2.05b# ls -l
    total 880
    -rw-r--r--    1 unknown  unknown    6148 Sep 10  2010 .DS_Store
    drw-------    4 unknown  unknown     136 Aug 25  2010 .Spotlight-V100
    drwxrwxrwt    3 unknown  unknown     102 Sep  3  2010 .TemporaryItems
    d-wx-wx-wt    3 unknown  unknown     102 Sep 10  2010 .Trashes
    drwx------    3 unknown  unknown     102 Sep  3  2010 Desktop
    -rw-r--r--    1 unknown  unknown   18944 Aug 27  2010 Desktop DB
    -rw-r--r--    1 unknown  unknown       2 Jul 29  2010 Desktop DF
    -rwxrwxrwx    1 unknown  unknown   26281 Oct 27  2009 Warranty Information.PDF
    drwxr-xr-x   13 unknown  unknown     442 Aug  4  2010 backup
    drwxr-xr-x   13 unknown  unknown     442 Aug  4  2010 backupPrior
    drwxr-xr-x    7 unknown  unknown     238 Aug 27  2010 cons
    drwxr-xr-x   65 unknown  unknown    2210 Sep  4  2010 iMac-back
    ... clipped ...
    sh-2.05b#
    sh-2.05b# cd /Volumes/Macintosh-HD/Users/mac/desktop
    sh-2.05b# pwd
    /Volumes/Macintosh-HD/Users/mac/desktop
    sh-2.05b# # Please note ls is the list command.  l is a lower case L
    sh-2.05b# ls
     Z2300               iMac
    .DS_Store            move
    .FBCIndex            new Belward
    .FBCLockFolder       primary-comments-new copy.doc
    Consolidate-rc       primary-comments-new.doc
    Downloads            psc 1200
    ... clipped ...
    sh-2.05b# ditto -X -rsrc iMac /Volumes/SpotMore/iMac-back
    sh-2.05b#
    sh-2.05b# # Please note ls is the list command.  l is a lower case L
    sh-2.05b# ls -h /Volumes/SpotMore/iMac-back/
    total 2800
    -rw-r--r--    1 unknown  unknown    24K Sep 12  2010 .DS_Store
    -rw-r--r--    1 unknown  unknown     2K Apr 18  2010 Differentiate Between Models .html
    ... clipped ...
    sh-2.05b# pwd
    /Volumes/Macintosh-HD/Users/mac/desktop
    sh-2.05b# ls
     Z2300               iMac
    .DS_Store            move
    .FBCIndex            new Belward
    .FBCLockFolder       primary-comments-new copy.doc
    ... clipped ...
    sh-2.05b#

Maybe you are looking for

  • ICal events not showing on month view

    Hi everyone, I have been facing a strange problem with iCal: some events (random), despite they sync fine with my gcal, will appear only in day or week view, never in month view. This is extremely annoyning as one can miss an appointment or book two

  • Error while posting billing document - Error belongs to Business area/G/L a

    Hi All, When i am posting the billing document i ma getting below error message: Business Area must be entered, Pl check if the Business Area is correct Message no. ZT017 I think it is due to MWST tax condtion type and respective G/L account only. Wh

  • Web pages are not saving and loading correctly

    I recently designed my website, www.gregknightrolfing.com. When I first put it together I gave it a certain look, then changed it and made the changes on every page. But when I publish the website and upload it to the web, two of my pages (http://www

  • Mac keeps freezing / crashing

    Hi, I am using a Mac Mini with Server and have lately started to see some problems occurring. It is a 2.6Ghz i7 with 8GB DDR3 memory running Mavericks. All of a sudden one way, my safari started to crash to a point I get the little spinning wheel and

  • Flash buttons appear as white boxes

    Hi, I'm importing learning interactions as swf files from Flash into a Captivate project. These learning interactions use button components for "reset" and "submit". If the learning interaction is NOT on the first slide of the project I get white box