HT204012: Enabling and using the "root" user in OS X

Learn about Enabling and using the "root" user in OS X
teriwooo1963

Q: how do i get an administrator name and password if i didnt set up my macbook 4.1 version 10.6.8

Hello Im trying to figure out how to get an Administrator name and password when I didn"t originally set up my macbook 4.1 version 10.6.8 with a 2.4Ghz intel core2 duo processor 2 Gb 667Mhz ddr2 sdram memory 3Mb L2 Cache  800Mhz Bus speed  Mb41.004.800 Boot rom version SMC version (system) 1.31f1 120Gb Fujitsu hard drive writeable and 119Gb Macintosh hard drive writeable  97.97 available.  Please help    Thank you                   

MacBook, Mac OS X (10.6.8), Macbook 4.1

Posted on Jun 27, 2016 12:13 PM

Close

Q: how do i get an administrator name and password if i didnt set up my macbook 4.1 version 10.6.8

  • All replies
  • Helpful answers

  • by Limnos,

    Limnos Limnos Jun 27, 2016 12:20 PM in response to teriwooo1963
    Level 9 (53,705 points)
    Mac OS X
    Jun 27, 2016 12:20 PM in response to teriwooo1963
  • by theratter,

    theratter theratter Jun 27, 2016 1:10 PM in response to teriwooo1963
    Level 4 (3,907 points)
    Desktops
    Jun 27, 2016 1:10 PM in response to teriwooo1963

    Some possible options:

     

    A.

    Create a New User Account if You Cannot Access Your Admin Account

     

    Reboot the computer. At the chime press and hold down the Command-S keys to start into Single-user Mode. You will boot to a black screen with scrolling white text, release the keys and wait for it finish.

     

    Enter the following lines at the command prompt pressing RETURN after each:

     

    mount -uw /

    rm /var/db/.applesetupdone

    reboot

     

    After you reboot the computer you will be taken to the Setup Assistant. When you get to the point where you are asked to setup your new user account, create a new admin account. Be sure to name this user account something different than the admin user account that already exists on the system. When you finish the Setup Assistant, it will automatically log you into the new account.

     

    You can transfer your files from the old account to the new one. See: Transferring files from one User Account to another. Once you have moved all your files into your new account, you can delete the old account using Accounts or Users & Groups preferences.

     

    B. From Standard to Administrator - Hack Mac

    C. Mac OS X 10.6- If you forget your administrator password

    D.

    Restore Admin Status to User Account - Snow Leopard

     

    Boot from the Snow Leopard DVD to enable the root user:

     

    After the installer loads select your language then click on the Continue button. When the menubar appears choose Reset Password from the Utilities menu. Select the account to reset password, choose System Administrator (root). Enter a password and verify it. Save the password, then exit the installer and restart.

     

    Perform change to Admin Status:

     

    At the login window, or if you have it set to auto-login then log out to return to the login window, choose Other... and enter root (all lowercase) as the name, then the password that you set. As root you will have full access to the system including granting admin rights to the accounts that are standard at the moment. You also will see some additional folders on the hard drive you couldn't see before. Do not touch these in any way or you could hurt the OS. Access System Preferences->Accounts, select one of the non-admin accounts and check the box next to "Allow user to administer this computer," then log out and into the account to which you just gave admin status.

     

    Disable Root user:

     

    To disable root go into Accounts preferences from the admin account, click Login Options at the bottom of the list of accounts. Click the Join button next to the words Network Account Server..., click Open Directory Utility, click on the lock icon and authenticate to make changes. Under the Edit menu, choose Disable Root user.

     

    Consult this Apple support article if you get lost.