No account password. What to type into Terminal when prompted for it?

Discussion in 'macOS' started by Kahnyl, May 21, 2010.

  1. Kahnyl macrumors 68000

    Joined:
    Feb 2, 2009
    #1
    When I try to just hit enter as my password it says it's incorrect. What do I type for no password?
     
  2. GoCubsGo macrumors Nehalem

    GoCubsGo

    Joined:
    Feb 19, 2005
  3. miles01110 macrumors Core

    miles01110

    Joined:
    Jul 24, 2006
    Location:
    The Ivory Tower (I'm not coming down)
    #3
    You should use a password. Change your account so you have one, then type it in. If you're trying to sudo something, I don't think sudo even allows 'null' passwords.
     
  4. Kahnyl thread starter macrumors 68000

    Joined:
    Feb 2, 2009
    #4
    Yeah I'm trying to sudo. There's so little on this machine that a password would be more annoying than helpful.
     
  5. GGJstudios macrumors Westmere

    GGJstudios

    Joined:
    May 16, 2008
    #5
    It's asking for your administrator password, which you should have set
     
  6. Kahnyl thread starter macrumors 68000

    Joined:
    Feb 2, 2009
    #6
    I am the admin. I left it blank at installation.
     
  7. miles01110 macrumors Core

    miles01110

    Joined:
    Jul 24, 2006
    Location:
    The Ivory Tower (I'm not coming down)
    #7
    Considering you can't sudo with a null password, I'm inclined to disagree ;) Even to edit the sudoers file so a password isn't required requires an initial password.
     
  8. Kahnyl thread starter macrumors 68000

    Joined:
    Feb 2, 2009
    #8
    I'd have to input a password quite regularly if I had set one up initially.

    On this one occasion, I'll create a password, use it to sudo, and then remove it again.

    Much more convenient.

    Thanks for the help people.
     
  9. danielcox macrumors member

    Joined:
    Apr 19, 2010
    #9
    Why not just create a root account (passworded) and su for stuff you need to do?
     

Share This Page