Newbie problem with Sudo and terminal

Discussion in 'Mac Programming' started by toebs, Feb 2, 2009.

  1. macrumors member

    Joined:
    Oct 22, 2008
    #1
    When ever i try to run something inside terminal and i run something like
    "fink install tiemu"
    it then asks for password

    My password is nothing so i just hit enter
    then nothing really happens, terminal just writes toebs-hansen-macbook-pro:~Toebs$

    Its really annoyong, somethings i cant install that i need to use
     
  2. macrumors regular

    Joined:
    Dec 7, 2008
    #2

    I'm not sure if I fully understand, and I'm not a terminal expert, but you could just do "sudo bash" and give it your password (or press enter if you don't have one), which will give you the terminal as Super User. Then you could do your command - check man to see if there's a verbose flag that might tell you what's happening.
     
  3. macrumors G5

    Consultant

    Joined:
    Jun 27, 2007
    #3
    It could be the problem that you can't authenticate in terminal if your password contains no characters.
     
  4. thread starter macrumors member

    Joined:
    Oct 22, 2008
    #4
    thanks for fast replys.

    Is there anyway i can confirm if i have the sudo permission after entering my non-existent password?

    Both my root user and my admin account dont have password, perhaps i should give both one?
     
  5. macrumors 6502

    tom.

    Joined:
    Nov 9, 2007
    Location:
    UK
    #5
    Your root user, by default, isn't enabled - and if it is, it should have a password(definitely)! Massive security risk without.

    Are you sure the command you are running isn't executing successfully? What are you expecting to happen?

    If it is a simple app the install might well work without needing anything else and it will return to you with nothing.

    The key is - if there is no error, assume success ;-) (wait for me to get shot down in flames for that).

    Good luck.
     
  6. Moderator emeritus

    yellow

    Joined:
    Oct 21, 2003
    Location:
    Portland, OR
    #6
    As noted, it's a very BAD IDEA™ to have no passwords.

    As for sudo, it does not function with a blank password. So if you want to use it, you need a password.
     
  7. thread starter macrumors member

    Joined:
    Oct 22, 2008
    #7
    great thanks.
    Ill put a monster long password and hope my brain remembers tomorrow ;)

    Update: WoHoo it works. Thanks alot. Finally the great TI89 calculator has found its way to my MAC
     
  8. Moderator emeritus

    yellow

    Joined:
    Oct 21, 2003
    Location:
    Portland, OR
    #8

Share This Page