how do i log in as root?

Discussion in 'Mac Apps and Mac App Store' started by harry4000, Nov 6, 2003.

  1. harry4000 macrumors newbie

    Aug 27, 2003
    Sunnyvale, CA
    I try typing "su" in the terminal, and it prompts me for a password. The password that I use for my user account doesn't work. Does anybody know what the default password is?
  2. jeremy.king macrumors 603


    Jul 23, 2002
    Fuquay Varina, NC
    Try this

    By default the password is "locked"

    If memory serves, You need to login as a user with admin priviledges and open Terminal and then

    sudo passwd root

    To set the password.

    Let me know if that helps. I could be way off.
  3. jxyama macrumors 68040


    Apr 3, 2003
    i *have to* ask why. the general thought is that if you don't know how to turn it on, you perhaps shouldn't have root access to begin with..?

    that said, if the terminal command doesn't work, try accessing Netinfo Manager -> Security.
  4. ckwm macrumors member

    Jun 3, 2003
    As it happens, I'd like to know too! I am the only user on my iMac and it bugs me there is stuff I can't do (like delete certain directories such as previous systems). As it happens, you can do this in Panther with the admin password.

    I get your point though, jxyama. Perhaps there should be something in the install where you can set the password.
  5. harry4000 thread starter macrumors newbie

    Aug 27, 2003
    Sunnyvale, CA
  6. GigaWire macrumors 6502

    Dec 25, 2001
    /applications/utilities/netinfo manager

    Netinfo has a nice gui for setting up root access among many other things.

    under the security tab is the enable root user option

Share This Page