OS X root account

Discussion in 'General Mac Discussion' started by Durandal7, Jan 11, 2002.

  1. macrumors 68040

    Joined:
    Feb 24, 2001
    #1
    Does anyone know if there is a way to enable a root account in the OS X login window? I know all the sudo commands but I was hoping there was a way to login to OS X as root.
     
  2. macrumors 6502a

    al256

    Joined:
    Jun 7, 2001
    Location:
    Colorado
    #2
    Go into Sys. Prefs find your log on settings and turn off auto log on then turn off user pictures or something like that. After you log out you should be able to type a user name in. I forget what root is called but it was something like
    /console someone else maybe able to give you better directions.
     
  3. macrumors 6502a

    Joined:
    Nov 30, 2001
    Location:
    Scandinavia
    #3
    enable "other" in the login window (system prefs), when you choose other in the login windows, write root as username and your root password in password. Worked for me (at least in 10.1)
     
  4. macrumors 68020

    JoeG4

    Joined:
    Jan 11, 2002
    Location:
    Bay Area, Ca.
    #4
    There's a way!

    Insert any OS 10.x disk (preferably 10.1) into your computer, restart

    Hold down C to boot to the CD

    When the Installer pops up, go into the menu next to the apple logo (Installer menu), and choose Reset Password...

    From there, pick System Administrator (root), and change it's password to what you want (you don't need to know the old password, etc)

    Then once that's done, click DOne, or QUIT, depending on the version of the installer, and go into the installer menu, select quit, and reboot

    Do NOT hold down the C key this time

    Once you are back in X, choose system prefs, and Login, here click the Login Window tab. Just choose the text boxes where Name and Password are, and fill name with: root

    PassworD: Whatever you made it.

    Remember to click the save button.

    Now, choose the "Show Other User in list for network users" that way you can log in as root at the main screen. Exit system prefs (save if it asks), and log out.

    At the login screen, choose Other user, and log in as root, you will now automatically always log in that way.

    I hope it works :)
     
  5. macrumors 6502a

    Joined:
    Jan 5, 2002
    Location:
    CA
    #5
  6. macrumors newbie

    Joined:
    Jan 27, 2002
    Location:
    ny
    #6
    root on osx

    goto applications>>utilities>>NetInfo Manager, then goto domain>>security>>change root password, and/or authenticate
     
  7. macrumors member

    Joined:
    Dec 19, 2001
    Location:
    Lives in Melbourne, works in Sydney
    #7
    Why

    Why would you want to log in as root anyway?
    You can do anything you want with sudo.
     
  8. macrumors 68030

    Hemingray

    Joined:
    Jan 9, 2002
    Location:
    Ha ha haaa!
    #8
    Logging in as root puts you in a GUI environment. Not everyone is proficient down at the command line level. I would assume that is the case...
     
  9. macrumors member

    Joined:
    Dec 19, 2001
    Location:
    Lives in Melbourne, works in Sydney
    #9
    Yeah, but....

    asurace said I know all the sudo commands therfore implying that there was some proficiency.

    Technically sudo (Super User Do) allows root access to any shell command. It is not a command in itself:)

    Back to the original query.
    Do you want to log in as root just to see if it can be done, or is there a particular issue you are trying to solve. And maybe there is a better method to help solve it?
     
  10. macrumors 68020

    JoeG4

    Joined:
    Jan 11, 2002
    Location:
    Bay Area, Ca.
    #10
    .

    I always use root, just because I got sick and tired of dealing with file permissions, and I do know the OS pretty well (I've already 'hacked' it, by changing all the things in it, version numbers, etc, etc), and it's not THAT easy to screw it up :)

    Then again, I wouldn't use root if I had someone else here.
     
  11. thread starter macrumors 68040

    Joined:
    Feb 24, 2001
    #11
    I do know all the sudo commands but I would just prefer to use OS X interface instead of the terminal in some cases.
     

Share This Page