im struggling with terminal

Discussion in 'Mac Programming' started by JARm, Oct 20, 2010.

  1. JARm macrumors newbie

    Oct 20, 2010
    iv been trying to use the program terminal.
    im not to sure what im doing but i got some instruction to follow,
    so i followed the instruction to where it say password.
    this wht i get:

    name$ sudo /Applications/ /etc/hosts

    WARNING: Improper use of the sudo command could lead to data loss
    or the deletion of important system files. Please double-check your
    typing when using sudo. Type "man sudo" for more information.

    To proceed, enter your password, or type Ctrl-C to abort.


    i am the administrator of my laptop and i dont have a password!
    what can i do?
  2. Queso Suspended

    Mar 4, 2006
    Enter your normal user account password again (the one you use to install software). If your account is an admin it is permitted to use sudo, but the computer prompts you as a security measure :)
  3. Guiyon macrumors 6502a

    Mar 19, 2008
    North Shore, MA
    If you have a blank password you cannot use sudo as it does not accept 0 character passwords.
  4. JARm thread starter macrumors newbie

    Oct 20, 2010
    i dont have a password for when i put programs in!
    but when the password thing comes up i press enter n i say its wrong and ask for another!
  5. Queso Suspended

    Mar 4, 2006
    Then you need to set one. As Guiyon correctly posted you need a proper password for sudo :)
  6. mac2x macrumors 65816

    Sep 19, 2009
    You should have a proper password for your account anyway. ;)

Share This Page