Terminal/bash stalls at password-prompt after sudo-command

hi,
under 10.5.2 Terminal lets me type or paste a sudo-command, but then, asking for my root-password, does not react to any inout from keyboard or via paste. What can that be?

It is normal for nothing to appear on the screen while the password is being typed. Press Enter when you've finished entering it.
(30698)

Similar Messages

  • Time Machine multiple password prompts after 10.5.6 upgrade

    Wanted to see if anybody else has noticed this behavior change since upgrading to 10.5.6. I back my MacBook Pro to a network drive shared from my Mac Mini. With 10.5.5 and earlier, I'd mount the network drive, and then set Time Machine to use it. I'd get one password prompt, for the initial mount of the network drive.
    Post-10.5.6, I mount the network drive (password prompt #1), and then tell Time Machine to use that drive, and I get another password prompt from Time Machine. I'm not sure why this is, and it seems like a behavior change. Has anybody else noticed these double password prompts after going to 10.5.6?
    --Bernie

    I have the exact same problem since upgrading to 10.5.6. The time machine arrows start spinning, and then stop with the exclamation point. I look at the dropdown and it says "Latest Backup: Delayed"
    When I open Time Machine Preferences, it tells me I have 32.2 GB of 232.7 GB available. And in latest backup, it says "Failed" with the little "i" in the circle. When I click the "i" it tells me "The backup volume could not be mounted."
    When I actually look at the contents of the drive (which definitely is mounted) I see a 200GB file (the correct size) named [name of my computer]_[some serial number].sparsebundle. The stuff in brackets is replaced since I don't know if that's the sort of thing that I should post.
    What seems odd (although I haven't looked at the volume enough in the past to know if it is odd), is that both the modified date and the creation date are March 27, 2008 which, I believe, is when I first started using time machine.
    The only other thing on that drive is a folder, "untitled folder"
    That's it. I'm not sure about whether it's trying to backup when not connected, but I think I remember that.
    Do these specifics fit with what you can see about the current state of your backup?
    Tom

  • Password prompt after screen saver or lock screen

    I am running Yosemite on two Macs – an early-2008 MBP 15" and a mid-2010 MBP 13". Both are configured for password after screen saver or when waking up. I have hot corners configured to enable screen saver (lower left), lock screen (upper right), disable screen saver (lower right). On awakening from either screen saver or lock screen, the 15" requests the password in a screen similar to the login after boot or switch user screen – the fullscreen, blurry background, prompt in the center. The 13" prompts for a password in an ordinary modal dialogue window that includes a lock icon and displays on a black background. The 13" has an external monitor attached, but the behavior is the same if it's disconnected. Both systems have one user, and identical settings in Users and Groups. The behavior is the same whether the Guest user is enabled or disabled.
    I can't find any settings to account for the difference, even obscure ones shown in Onyx. Any ideas as to why the password prompt is handled differently in these two cases? Thanks in advance...

    Hi Betty,
    http://www.cmu.edu/computing/doc/security/mac/screensaver/index.html

  • Outlook password prompt after CU7 installation

    Hi
    I have Exchange 2013 in a resource forest. We use linked mailboxes.
    The clients are connecting using Outlook Anywhere.
    As Authentication we use NTLM.
    This Weekend I installed CU7. This morning all users received a passwort prompt when starting outlook. After entering the password, Outlook can be closed and restarted again without a password prompt. But after a reboot of the client, the password prompt
    comes again.
    Any Suggestion?
    Regards
    Peter

    Hi Peter,
    I have never seen CU7 removed WindowsIntegrated authentication from AutoDiscover VD before, maybe some other reasons cause this. Great information. Thanks for your generous sharing : )
    Thanks
    Mavis Huang
    TechNet Community Support

  • Password prompt after iOS5 update...SOLVED!!!

    Not sure if anyone is dealing with this but upon updating to the new iOS, a prompt box popped up in iTunes asking me to enter a password to access my backup files even though I never remembered setting one. So I tried my Apple ID, along with my usual passwords and nothing. I then tried my Windows user account password (as I'm on a PC), and...IT WORKED! Give it a shot...I've heard it works on Mac's too.

    I eventually solved the problem although it took me another 24 hours. The issue is with the latest release of itunes. There is a check box under the Backup section to encrypt. I have never encypted any backup before so it seems like this a default on latest itunes. After I had worked out what the password was...It was just a generic one the I use for various applications I managed to restore my backup file. And it wasn't my Apple ID, not 0000 or 12345 or anything similar.
    Problem then was that it tried to copy my backup file on top of the existing files, i.e. I had 28gb of hidden files that just showed up as OTHER on my iphone so couldn't actually restore my backup files as obviously there was no space left on the phone. I then had reset the iphone to factory settings and reinstall everything from scratch. Needless to say I have uncheecked the encrypt files ox on my itunes. I have warned everyone else I know who owns an iphone not to update their operating system until I can guide them through it.

  • Unknown Firmware Password prompt after deleting Bootcamp

    I bought a MacBook Pro second hand last year. The previous owner installed bootcamp on it and I tried getting rid of it to no avail. When I shut it down and tried to turn it back on I just got the folder with the question mark, presumably a startup disk issue. When I try the reset shortcuts and resetting pram it just shows a firmware password entry, of which I don't know. neither does the precious owner. Ive brought it to the apple store to see what they can do but they said they can't do anything without original proof of purchase. Neither I, nor the original owner has the receipt. So, I have a paperweight that runs and is a password away from working. Help?

    Hi Boudewijn,
    I personally haven't seent this behavior as of yet. I've done 6 upgraded on the SX300 series and 4 on the SX500 series. The good news is, there is nothing lost if you have the ability to console the unit.
    If you console the unit there is a password bypass option
    1)Bits per seconds: 115200
    Databits: 8
    Partiy: None
    Stop bits:1
    Flow control: None
    2) Reboot the switch, just unplug the power and plug it back in
    3) When prompted, press ESC
    4.) I beleive it is option 6 that is "password recovery"
    Once you choose this option, the switch should boot as normal and you may sign in without the admin password.
    -Tom
    Please rate helpful posts

  • I want to disable 'Spotlight' for repairing my disk "Macintosh HD" , but somehow the command 'sudo mdutil -a -i off' does not work in 'Terminal'. I get result as ' bash: sudo: command not found' .I am using OS 10.10.  Please help.

    I want to disable 'Spotlight' for repairing my disk "Macintosh HD" , but somehow the command 'sudo mdutil -a -i off' does not work in 'Terminal'. I get result as ' bash: sudo: command not found' .I am using OS 10.10.  Please help.

    It appears that you may not have a properly installed OS X system.
    You must be connected to the Internet to reinstall OS X.
    In the menu bar, choose Apple menu > Restart. Once your Mac restarts (and the gray screen appears), hold down the Command (⌘) and R keys.
    Select “Disk Utility,” and then click Continue.
    Select your startup disk from the list on the left, and then Repair Disk.
    After disk is repaired, select Reinstall OS X, then click Continue.
    Follow the onscreen instructions. In the pane where you select a disk, select your current OS X disk

  • Sudo root Password Prompt

    Hi, I've built a widget that allows the user to modify the power settings wake-up schedule.
    I did this through the pmset Unix command, like this:
    widget.system("/usr/bin/sudo pmset repeat wake MTWRFSU "hours+":"+minutes":00", null);
    I am forced to use sudo, because OS X's security settings block the widget's access to pmset. The issue I have is that since the sudo command returns a password prompt in the Terminal (in the Unix console), on the user side nothing happens, when they use the widget. The whole process is cancelled due to an invisible password request.
    The question I am asking is, is there a way to prompt the user for the root password through OS X's default user password dialog box, instead of prompting through the background running Unix console? Is there a Unix or AppleScript command that does this?
    And if there isn't, is there a way to send password information (that was entered in the widget) directly to the Unix console?

    Applescript allows you to run a shell command using "Administrator privileges" (basically like sudo, only better).
    The following AppleScript will run "/bin/ls -la" with root privileges by prompting the user in a standard Authorization Services dialog:
    do shell script "/bin/ls -la" with administrator privileges
    (Note: you do not need to use sudo in there anywhere, that's handled for you automatically; simply list the process you want to run and the options).
    If you knew the user's password prior to running this command, you could do the following:
    do shell script "/bin/ls -la" with administrator privileges password "myPlainTextPassword"
    Note that this isn't as secure as letting AuthorizationServices handle the password prompt.
    You may want to play around in Script Editor (/Applications/AppleScript/) until you get the command syntax down right. Then, you can use the "osascript -e" shell command to execute the script from your widget.
    For example, the following shell command would have basically the same effect as executing the above-mentioned AppleScript:
    osascript -e "do shell script "/bin/ls -la" with administrator privileges"
    So, to review, in case your head is starting to swim a bit... You're executing a shell command (osascript) to execute an AppleScript which in turn uses AuthorizationServices (prompt for password) to perform a shell command with root privileges.
    Hope this helps...

  • IMac G5 Goes to Darwin Prompt after User Password is Entered at Login! Help

    I have just made a fresh installation of the Mac OSX in my iMac G5 after some problems of its repeated powering off. It worked fine after the re-installation but when I tried to boot it up the morning after and after logging in on the start-up page, it took me to a prompt again asking for a user name and password. After Darwin identifies me, I expected it to boot up but it does'nt and keeps me on a prompt. Please help! I am a layman and I do not know these things. Any help will be appreciated. Thank you.

    Sarbit, welcome to the discussions!
    I had my midplane and PSU replaced back last August and have not seen anything that would make me believe that I will have a recurrence of the problem. Fortunately, if I do I am still covered for another year under the warrantee extension, as are you.

  • Cannot purchase songs on iTunes. After I enter Apple ID and password, Prompt says I need toed to verify my Apple ID. I enter my password again and never get the verification email.

    Cannot purchase songs on iTunes. After I enter Apple ID and password, Prompt says I need toed to verify my Apple ID. I enter my password again and never get the verification email although my Apple ID and email are correct? Whats up with that?

    from this support article:
    How do I verify my Apple ID by email? 
    Simply follow the link in the verification email that says "Verify Now." Sign in with your current Apple ID and password, then click Verify Address. You can also verify by signing in at My Apple ID.

  • How to set new sudo password prompt?

    Hi guys, i've a problem with sudo!
    I want set a new password prompt for me but unfortunately don't how to do...
    I set  a defaults line in sodoers file with this syntax:
    Defaults     passprompt="MyPass:"
    but don't work...
    I tried also start sudo with -p paramenter: sudo -p "Mypass:" but nothing
    Someone can help me please...:(

    skymt wrote:
    Actually, sudo has an option for this:
    sudo -p 'Enter your password, %u:'
    '%u' will be replaced with your username. You can also use %H or %h for the hostname with or without the domain, %U for the username sudo will use to run your command, or %% for an actual percent sign.
    If you want to set a permanant prompt, either set the environment variable "SUDO_PROMPT" or set "passprompt" in /etc/sudoers using visudo.
    I tried this solution but don't work for me..
    If i try to do:
    # sudo -p 'My Password:' i've "Password" for pass prompt..
    I've re-checked the sudoers file, is this:
    # sudoers file.
    # This file MUST be edited with the 'visudo' command as root.
    # See the sudoers man page for the details on how to write a sudoers file.
    # Host alias specification
    # User alias specification
    # Cmnd alias specification
    # Defaults specification
    Defaults passprompt="Password:"
    # Runas alias specification
    # User privilege specification
    root ALL=(ALL) SETENV: ALL
    # Uncomment to allow people in group wheel to run all commands
    # and set environment variables.
    %wheel ALL=(ALL) ALL

  • Isight not working anymore after a sudo command i put on terminal

    i have not been able to get the smc to work.. but i am almost positive what the problem is that sudo command killall for coremedia command i did..b ecause not my isight built in camera will not work for any application.// this has me freaking out.. please if anyone could guide me through whatever it takes to get this isight camera working that would be a life saver.. i do not believe that it is hard ware because it was working just fine that entire day until i did something in terminal trying to stop the coremedia processes not knowing what they were..

    Post the exact command you entered in terminal.
    You can copy and paste the single command from the output of:
    history

  • Master Password prompt gone after deinstalling KeeFox

    I recently installed KeePass & KeeFox but eventually ended up deinstalling them.
    Ever since, if I go to a website that had the AutoFill feature before, the Master Password prompt won't show up anymore. Is there anyway to make it show up again if I visit a site with a password field and a saved password?

    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance).
    *Do NOT click the Reset button on the Safe Mode start window.
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes
    See also:
    *Tools > Options > Security: Passwords: "Remember passwords for sites"
    *https://support.mozilla.org/kb/usernames-and-passwords-are-not-saved

  • Terminal is requesting a password-I don't use a pw

    I'm wanting to permanently silence the startup chime. After entering the requisite command line, the administrator's password is requested.  I don't have a pw on the computer so the response is "sorry, try again."  Do I create a pw just for chits-0and-giggles?

    Terminal commands that are used to administer the computer will require being run from an admin account, and also require you enter your password. These are usually preceded by the "sudo" command, such as "sudo rm FILEPATH" to remove a file with administrative privileges. For others that do not use the sudo command, they may be coded to invoke OS X's security frameworks, which will prompt you in a window for an administrator username and password. Either way, an admin username and password will be required to run the command.
    Anything required to silence the startup chime will very likely require administrative authorization to run, so you will need to supply these credentials when you run this command.

  • Terminal doesn't understand sudo command

    I am installing MacPorts 1.7.0 from a .dmg file. Following, I set up the environment variables in the .profile file, and tried to use Terminal to update using the sudo port selfupdate command from Terminal.
    This is the result I got:
    -bash: sudo: command not found
    Why is this, and what can I do?

    I think the error refers to the command(s) following "sudo." Were you prompted for your password?
    No, that would be:
    sudo fred
    Password:
    sudo: fred: command not found
    But if the command bash is asked to execute is not found you get
    fred
    -bash: fred: command not found
    So I think he is not finding sudo.
    That makes me think that PATH has been messed up, because sudo is in /usr/bin/sudo which is always in PATH unless it has been messed up. Which makes me think that .profile was properly executed, and that is how PATH got messed up.
    So I would look very closely at .profile and make sure PATH is setup correctly. I would expect it to looks something like:
    export PATH="$PATH:/opt/local/bin"

Maybe you are looking for